diff --git a/public/embed/doxa-maps-build/doxa-maps/doxa-simple-map/doxa-simple-map.js b/public/embed/doxa-maps-build/doxa-maps/doxa-simple-map/doxa-simple-map.js index 182efbd4..2220cd88 100644 --- a/public/embed/doxa-maps-build/doxa-maps/doxa-simple-map/doxa-simple-map.js +++ b/public/embed/doxa-maps-build/doxa-maps/doxa-simple-map/doxa-simple-map.js @@ -1,46 +1,46 @@ -(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".profile-loader[data-v-b7582f77]{width:100%;height:100%;position:relative}.profile-error[data-v-b7582f77]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}.people-group-detail[data-v-8142ca9c]{display:flex;flex-direction:column;height:100%;overflow-y:auto}.detail-header[data-v-8142ca9c]{display:flex;justify-content:space-between;align-items:flex-start;padding:16px;border-bottom:1px solid #e0e0e0;background:#fff;position:sticky;top:0;z-index:10}.header-left[data-v-8142ca9c]{display:flex;gap:12px;align-items:center;flex:1;min-width:0}.header-text[data-v-8142ca9c]{flex:1;min-width:0}.people-group-name[data-v-8142ca9c]{margin:0;font-size:18px;font-weight:700;color:#333;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;user-select:text;-webkit-user-select:text;cursor:text}.people-group-subtitle[data-v-8142ca9c]{margin:4px 0 0;font-size:13px;color:#666;line-height:1.2}.close-button[data-v-8142ca9c]{background:none;border:none;padding:4px;cursor:pointer;color:#666;transition:color .2s ease;flex-shrink:0}.close-button[data-v-8142ca9c]:hover{color:#333}.detail-content[data-v-8142ca9c]{padding:6px 12px 12px;flex:1;overflow-y:auto}.quick-stats[data-v-8142ca9c]{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.stat-item[data-v-8142ca9c]{display:flex;justify-content:space-between;align-items:baseline;font-size:13px}.stat-label[data-v-8142ca9c]{color:#666;font-weight:500}.stat-value[data-v-8142ca9c]{color:#333;font-weight:600;text-align:right}.action-buttons[data-v-8142ca9c]{display:flex;gap:8px;padding-top:12px;margin-bottom:10px;overflow-x:auto;padding-bottom:2px}.action-btn[data-v-8142ca9c]{display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:8px;border:none;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;flex-shrink:0}.action-btn.primary[data-v-8142ca9c]{background:#92b195;color:#fff}.action-btn.primary[data-v-8142ca9c]:hover{background:#73a17f;box-shadow:0 2px 4px #92b1954d}.action-btn.secondary[data-v-8142ca9c]{background:#ecf0f1;color:#333}.action-btn.secondary[data-v-8142ca9c]:hover{background:#d5dbdb}.btn-icon[data-v-8142ca9c]{flex-shrink:0}.image-container[data-v-8142ca9c]{margin-bottom:16px;border-radius:8px;overflow:hidden;background:#f5f5f5}.image-container.position-above[data-v-8142ca9c]{width:120px;height:150px;margin:0 auto 16px}.image-container.position-inside[data-v-8142ca9c]{width:200px;height:250px;margin:0 auto 16px}.people-group-image[data-v-8142ca9c]{width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .3s ease}.people-group-image.loaded[data-v-8142ca9c]{opacity:1}.image-placeholder-svg[data-v-8142ca9c]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#f0f0f0;transition:opacity .3s ease}.image-placeholder-svg.hidden[data-v-8142ca9c]{opacity:0;pointer-events:none}.image-container[data-v-8142ca9c]{position:relative}.description-section[data-v-8142ca9c]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.description-text[data-v-8142ca9c]{margin:0;font-size:14px;line-height:1.6;color:#555}.description-text.empty[data-v-8142ca9c]{color:#999;font-style:italic}.action-buttons[data-v-8142ca9c]::-webkit-scrollbar{height:4px}.action-buttons[data-v-8142ca9c]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.action-buttons[data-v-8142ca9c]::-webkit-scrollbar-thumb{background:#ccc;border-radius:2px}.action-buttons[data-v-8142ca9c]::-webkit-scrollbar-thumb:hover{background:#999}@media (max-width: 480px){.people-group-name[data-v-8142ca9c]{font-size:16px}.stat-item[data-v-8142ca9c]{font-size:13px}.action-btn[data-v-8142ca9c]{padding:8px 14px;font-size:13px}}.dsm-root[data-v-564b62a8]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;overflow:hidden}.dsm-tab-bar[data-v-564b62a8]{flex:0 0 auto;display:flex;align-items:center;background:#fff;border-bottom:2px solid #e0e0e0;box-shadow:0 2px 4px #00000014;height:48px;padding:0 12px;gap:4px;z-index:10}.dsm-tab[data-v-564b62a8]{background:none;border:none;padding:0 20px;height:100%;font-size:14px;font-weight:500;color:#555;cursor:pointer;border-bottom:3px solid transparent;transition:color .15s,border-color .15s,background .15s;white-space:nowrap}.dsm-tab[data-v-564b62a8]:hover{background:#3498db0f;color:#3498db}.dsm-tab.active[data-v-564b62a8]{color:#3498db;border-bottom-color:#3498db;background:#3498db0f}.dsm-map-area[data-v-564b62a8]{flex:1 1 0;position:relative;overflow:hidden}.dsm-map-canvas[data-v-564b62a8]{position:absolute;top:0;right:0;bottom:0;left:0}.dsm-loading[data-v-564b62a8]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0f1216;color:#7c8cf8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;z-index:5}.dsm-error[data-v-564b62a8]{position:absolute;top:50%;left:12px;right:12px;z-index:7;transform:translateY(-50%);text-align:center;font:13px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#7f1d1d;background:#fffffff0;border:1px solid rgba(127,29,29,.25);border-radius:10px;padding:12px 14px;box-shadow:0 2px 10px #00000029}")),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})(); -(function(){"use strict";var Ku;var zo=typeof document<"u"?document.currentScript:null;const kk="modulepreload",wk=function(e){return"/"+e},xk={},Wa=function(t,o,n){let s=Promise.resolve();function a(r){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r}return s.then(r=>{for(const i of r||[])i.status==="rejected"&&a(i.reason);return t().catch(a)})};/** +(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".profile-loader[data-v-b7582f77]{width:100%;height:100%;position:relative}.profile-error[data-v-b7582f77]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}.people-group-detail[data-v-8142ca9c]{display:flex;flex-direction:column;height:100%;overflow-y:auto}.detail-header[data-v-8142ca9c]{display:flex;justify-content:space-between;align-items:flex-start;padding:16px;border-bottom:1px solid #e0e0e0;background:#fff;position:sticky;top:0;z-index:10}.header-left[data-v-8142ca9c]{display:flex;gap:12px;align-items:center;flex:1;min-width:0}.header-text[data-v-8142ca9c]{flex:1;min-width:0}.people-group-name[data-v-8142ca9c]{margin:0;font-size:18px;font-weight:700;color:#333;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;user-select:text;-webkit-user-select:text;cursor:text}.people-group-subtitle[data-v-8142ca9c]{margin:4px 0 0;font-size:13px;color:#666;line-height:1.2}.close-button[data-v-8142ca9c]{background:none;border:none;padding:4px;cursor:pointer;color:#666;transition:color .2s ease;flex-shrink:0}.close-button[data-v-8142ca9c]:hover{color:#333}.detail-content[data-v-8142ca9c]{padding:6px 12px 12px;flex:1;overflow-y:auto}.quick-stats[data-v-8142ca9c]{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.stat-item[data-v-8142ca9c]{display:flex;justify-content:space-between;align-items:baseline;font-size:13px}.stat-label[data-v-8142ca9c]{color:#666;font-weight:500}.stat-value[data-v-8142ca9c]{color:#333;font-weight:600;text-align:right}.action-buttons[data-v-8142ca9c]{display:flex;gap:8px;padding-top:12px;margin-bottom:10px;overflow-x:auto;padding-bottom:2px}.action-btn[data-v-8142ca9c]{display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:8px;border:none;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;flex-shrink:0}.action-btn.primary[data-v-8142ca9c]{background:#92b195;color:#fff}.action-btn.primary[data-v-8142ca9c]:hover{background:#73a17f;box-shadow:0 2px 4px #92b1954d}.action-btn.secondary[data-v-8142ca9c]{background:#ecf0f1;color:#333}.action-btn.secondary[data-v-8142ca9c]:hover{background:#d5dbdb}.btn-icon[data-v-8142ca9c]{flex-shrink:0}.image-container[data-v-8142ca9c]{margin-bottom:16px;border-radius:8px;overflow:hidden;background:#f5f5f5}.image-container.position-above[data-v-8142ca9c]{width:120px;height:150px;margin:0 auto 16px}.image-container.position-inside[data-v-8142ca9c]{width:200px;height:250px;margin:0 auto 16px}.people-group-image[data-v-8142ca9c]{width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .3s ease}.people-group-image.loaded[data-v-8142ca9c]{opacity:1}.image-placeholder-svg[data-v-8142ca9c]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#f0f0f0;transition:opacity .3s ease}.image-placeholder-svg.hidden[data-v-8142ca9c]{opacity:0;pointer-events:none}.image-container[data-v-8142ca9c]{position:relative}.description-section[data-v-8142ca9c]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.description-text[data-v-8142ca9c]{margin:0;font-size:14px;line-height:1.6;color:#555}.description-text.empty[data-v-8142ca9c]{color:#999;font-style:italic}.action-buttons[data-v-8142ca9c]::-webkit-scrollbar{height:4px}.action-buttons[data-v-8142ca9c]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.action-buttons[data-v-8142ca9c]::-webkit-scrollbar-thumb{background:#ccc;border-radius:2px}.action-buttons[data-v-8142ca9c]::-webkit-scrollbar-thumb:hover{background:#999}@media (max-width: 480px){.people-group-name[data-v-8142ca9c]{font-size:16px}.stat-item[data-v-8142ca9c]{font-size:13px}.action-btn[data-v-8142ca9c]{padding:8px 14px;font-size:13px}}.dsm-root[data-v-66f9416b]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;overflow:hidden}.dsm-tab-bar[data-v-66f9416b]{flex:0 0 auto;display:flex;align-items:center;background:#fff;border-bottom:2px solid #e0e0e0;box-shadow:0 2px 4px #00000014;height:48px;padding:0 12px;gap:4px;z-index:10}.dsm-tab[data-v-66f9416b]{background:none;border:none;padding:0 20px;height:100%;font-size:14px;font-weight:500;color:#555;cursor:pointer;border-bottom:3px solid transparent;transition:color .15s,border-color .15s,background .15s;white-space:nowrap}.dsm-tab[data-v-66f9416b]:hover{background:#3498db0f;color:#3498db}.dsm-tab.active[data-v-66f9416b]{color:#3498db;border-bottom-color:#3498db;background:#3498db0f}.dsm-map-area[data-v-66f9416b]{flex:1 1 0;position:relative;overflow:hidden}.dsm-map-canvas[data-v-66f9416b]{position:absolute;top:0;right:0;bottom:0;left:0}.dsm-loading[data-v-66f9416b]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0f1216;color:#7c8cf8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;z-index:5}.dsm-error[data-v-66f9416b]{position:absolute;top:50%;left:12px;right:12px;z-index:7;transform:translateY(-50%);text-align:center;font:13px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#7f1d1d;background:#fffffff0;border:1px solid rgba(127,29,29,.25);border-radius:10px;padding:12px 14px;box-shadow:0 2px 10px #00000029}")),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})(); +(function(){"use strict";var Gu;var jo=typeof document<"u"?document.currentScript:null;const vk="modulepreload",kk=function(e){return"/"+e},wk={},qa=function(t,o,n){let s=Promise.resolve();function a(r){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r}return s.then(r=>{for(const i of r||[])i.status==="rejected"&&a(i.reason);return t().catch(a)})};/** * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Va(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const Ke={},Uo=[],Bt=()=>{},Ir=()=>!1,Un=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Gn=e=>e.startsWith("onUpdate:"),ot=Object.assign,Ya=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Hu=Object.prototype.hasOwnProperty,je=(e,t)=>Hu.call(e,t),xe=Array.isArray,ho=e=>gn(e)==="[object Map]",Kn=e=>gn(e)==="[object Set]",Mr=e=>gn(e)==="[object Date]",Le=e=>typeof e=="function",Ye=e=>typeof e=="string",xt=e=>typeof e=="symbol",ze=e=>e!==null&&typeof e=="object",Fr=e=>(ze(e)||Le(e))&&Le(e.then)&&Le(e.catch),Rr=Object.prototype.toString,gn=e=>Rr.call(e),qu=e=>gn(e).slice(8,-1),Hn=e=>gn(e)==="[object Object]",qn=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pn=Va(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wn=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Wu=/-\w/g,ct=Wn(e=>e.replace(Wu,t=>t.slice(1).toUpperCase())),Vu=/\B([A-Z])/g,Ct=Wn(e=>e.replace(Vu,"-$1").toLowerCase()),Vn=Wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ja=Wn(e=>e?`on${Vn(e)}`:""),jt=(e,t)=>!Object.is(e,t),Xa=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Yu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Or=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let Br;const Yn=()=>Br||(Br=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function st(e){if(xe(e)){const t={};for(let o=0;o{if(o){const n=o.split(Xu);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Pe(e){let t="";if(Ye(e))t=e;else if(xe(e))for(let o=0;o!!(e&&e.__v_isRef===!0),_e=e=>Ye(e)?e:e==null?"":xe(e)||ze(e)&&(e.toString===Rr||!Le(e.toString))?Ur(e)?_e(e.value):JSON.stringify(e,Gr,2):String(e),Gr=(e,t)=>Ur(t)?Gr(e,t.value):ho(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],a)=>(o[Za(n,a)+" =>"]=s,o),{})}:Kn(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Za(o))}:xt(t)?Za(t):ze(t)&&!xe(t)&&!Hn(t)?String(t):t,Za=(e,t="")=>{var o;return xt(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** +**/function Wa(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const Ge={},zo=[],Bt=()=>{},Nr=()=>!1,zn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Un=e=>e.startsWith("onUpdate:"),ot=Object.assign,Va=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Ku=Object.prototype.hasOwnProperty,je=(e,t)=>Ku.call(e,t),xe=Array.isArray,ho=e=>dn(e)==="[object Map]",Gn=e=>dn(e)==="[object Set]",Ir=e=>dn(e)==="[object Date]",Le=e=>typeof e=="function",Ye=e=>typeof e=="string",xt=e=>typeof e=="symbol",ze=e=>e!==null&&typeof e=="object",Mr=e=>(ze(e)||Le(e))&&Le(e.then)&&Le(e.catch),Fr=Object.prototype.toString,dn=e=>Fr.call(e),Hu=e=>dn(e).slice(8,-1),Kn=e=>dn(e)==="[object Object]",Hn=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gn=Wa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qn=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},qu=/-\w/g,ct=qn(e=>e.replace(qu,t=>t.slice(1).toUpperCase())),Wu=/\B([A-Z])/g,Ct=qn(e=>e.replace(Wu,"-$1").toLowerCase()),Wn=qn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ya=qn(e=>e?`on${Wn(e)}`:""),jt=(e,t)=>!Object.is(e,t),Ja=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Vu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Dr=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let Or;const Vn=()=>Or||(Or=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function st(e){if(xe(e)){const t={};for(let o=0;o{if(o){const n=o.split(Ju);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Pe(e){let t="";if(Ye(e))t=e;else if(xe(e))for(let o=0;o!!(e&&e.__v_isRef===!0),_e=e=>Ye(e)?e:e==null?"":xe(e)||ze(e)&&(e.toString===Fr||!Le(e.toString))?zr(e)?_e(e.value):JSON.stringify(e,Ur,2):String(e),Ur=(e,t)=>zr(t)?Ur(e,t.value):ho(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],a)=>(o[Xa(n,a)+" =>"]=s,o),{})}:Gn(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Xa(o))}:xt(t)?Xa(t):ze(t)&&!xe(t)&&!Kn(t)?String(t):t,Xa=(e,t="")=>{var o;return xt(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let rt;class Kr{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&&rt&&(rt.active?(this.parent=rt,this.index=(rt.scopes||(rt.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(rt===this)rt=this.prevScope;else{let t=rt;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(hn){let t=hn;for(hn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;fn;){let t=fn;for(fn=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 Yr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Jr(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),as(n),nd(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=o}function ns(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===mn)||(e.globalVersion=mn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ns(e))))return;e.flags|=2;const t=e.dep,o=qe,n=Nt;qe=e,Nt=!0;try{Yr(e);const s=e.fn(e._value);(t.version===0||jt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{qe=o,Nt=n,Jr(e),e.flags&=-3}}function as(e,t=!1){const{dep:o,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let a=o.computed.deps;a;a=a.nextDep)as(a,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function nd(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Nt=!0;const Zr=[];function zt(){Zr.push(Nt),Nt=!1}function Ut(){const e=Zr.pop();Nt=e===void 0?!0:e}function Qr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=qe;qe=void 0;try{t()}finally{qe=o}}}let mn=0;class ad{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ss{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!qe||!Nt||qe===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==qe)o=this.activeLink=new ad(qe,this),qe.deps?(o.prevDep=qe.depsTail,qe.depsTail.nextDep=o,qe.depsTail=o):qe.deps=qe.depsTail=o,ei(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=qe.depsTail,o.nextDep=void 0,qe.depsTail.nextDep=o,qe.depsTail=o,qe.deps===o&&(qe.deps=n)}return o}trigger(t){this.version++,mn++,this.notify(t)}notify(t){ts();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{os()}}}function ei(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)ei(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Xn=new WeakMap,$o=Symbol(""),rs=Symbol(""),bn=Symbol("");function ht(e,t,o){if(Nt&&qe){let n=Xn.get(e);n||Xn.set(e,n=new Map);let s=n.get(o);s||(n.set(o,s=new ss),s.map=n,s.key=o),s.track()}}function Zt(e,t,o,n,s,a){const r=Xn.get(e);if(!r){mn++;return}const i=l=>{l&&l.trigger()};if(ts(),t==="clear")r.forEach(i);else{const l=xe(e),c=l&&qn(o);if(l&&o==="length"){const u=Number(n);r.forEach((m,h)=>{(h==="length"||h===bn||!xt(h)&&h>=u)&&i(m)})}else switch((o!==void 0||r.has(void 0))&&i(r.get(o)),c&&i(r.get(bn)),t){case"add":l?c&&i(r.get("length")):(i(r.get($o)),ho(e)&&i(r.get(rs)));break;case"delete":l||(i(r.get($o)),ho(e)&&i(r.get(rs)));break;case"set":ho(e)&&i(r.get($o));break}}os()}function sd(e,t){const o=Xn.get(e);return o&&o.get(t)}function Go(e){const t=Me(e);return t===e?t:(ht(t,"iterate",bn),St(e)?t:t.map(It))}function Zn(e){return ht(e=Me(e),"iterate",bn),e}function Gt(e,t){return to(e)?qo(eo(e)?It(t):t):It(t)}const rd={__proto__:null,[Symbol.iterator](){return is(this,Symbol.iterator,e=>Gt(this,e))},concat(...e){return Go(this).concat(...e.map(t=>xe(t)?Go(t):t))},entries(){return is(this,"entries",e=>(e[1]=Gt(this,e[1]),e))},every(e,t){return Qt(this,"every",e,t,void 0,arguments)},filter(e,t){return Qt(this,"filter",e,t,o=>o.map(n=>Gt(this,n)),arguments)},find(e,t){return Qt(this,"find",e,t,o=>Gt(this,o),arguments)},findIndex(e,t){return Qt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Qt(this,"findLast",e,t,o=>Gt(this,o),arguments)},findLastIndex(e,t){return Qt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Qt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ls(this,"includes",e)},indexOf(...e){return ls(this,"indexOf",e)},join(e){return Go(this).join(e)},lastIndexOf(...e){return ls(this,"lastIndexOf",e)},map(e,t){return Qt(this,"map",e,t,void 0,arguments)},pop(){return yn(this,"pop")},push(...e){return yn(this,"push",e)},reduce(e,...t){return ti(this,"reduce",e,t)},reduceRight(e,...t){return ti(this,"reduceRight",e,t)},shift(){return yn(this,"shift")},some(e,t){return Qt(this,"some",e,t,void 0,arguments)},splice(...e){return yn(this,"splice",e)},toReversed(){return Go(this).toReversed()},toSorted(e){return Go(this).toSorted(e)},toSpliced(...e){return Go(this).toSpliced(...e)},unshift(...e){return yn(this,"unshift",e)},values(){return is(this,"values",e=>Gt(this,e))}};function is(e,t,o){const n=Zn(e),s=n[t]();return n!==e&&!St(e)&&(s._next=s.next,s.next=()=>{const a=s._next();return a.done||(a.value=o(a.value)),a}),s}const id=Array.prototype;function Qt(e,t,o,n,s,a){const r=Zn(e),i=r!==e&&!St(e),l=r[t];if(l!==id[t]){const m=l.apply(e,a);return i?It(m):m}let c=o;r!==e&&(i?c=function(m,h){return o.call(this,Gt(e,m),h,e)}:o.length>2&&(c=function(m,h){return o.call(this,m,h,e)}));const u=l.call(r,c,n);return i&&s?s(u):u}function ti(e,t,o,n){const s=Zn(e),a=s!==e&&!St(e);let r=o,i=!1;s!==e&&(a?(i=n.length===0,r=function(c,u,m){return i&&(i=!1,c=Gt(e,c)),o.call(this,c,Gt(e,u),m,e)}):o.length>3&&(r=function(c,u,m){return o.call(this,c,u,m,e)}));const l=s[t](r,...n);return i?Gt(e,l):l}function ls(e,t,o){const n=Me(e);ht(n,"iterate",bn);const s=n[t](...o);return(s===-1||s===!1)&&na(o[0])?(o[0]=Me(o[0]),n[t](...o)):s}function yn(e,t,o=[]){zt(),ts();const n=Me(e)[t].apply(e,o);return os(),Ut(),n}const ld=Va("__proto__,__v_isRef,__isVue"),oi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xt));function cd(e){xt(e)||(e=String(e));const t=Me(this);return ht(t,"has",e),t.hasOwnProperty(e)}class ni{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const s=this._isReadonly,a=this._isShallow;if(o==="__v_isReactive")return!s;if(o==="__v_isReadonly")return s;if(o==="__v_isShallow")return a;if(o==="__v_raw")return n===(s?a?ci:li:a?ii:ri).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=xe(t);if(!s){let l;if(r&&(l=rd[o]))return l;if(o==="hasOwnProperty")return cd}const i=Reflect.get(t,o,Je(t)?t:n);if((xt(o)?oi.has(o):ld(o))||(s||ht(t,"get",o),a))return i;if(Je(i)){const l=r&&qn(o)?i:i.value;return s&&ze(l)?us(l):l}return ze(i)?s?us(i):Ko(i):i}}class ai extends ni{constructor(t=!1){super(!1,t)}set(t,o,n,s){let a=t[o];const r=xe(t)&&qn(o);if(!this._isShallow){const c=to(a);if(!St(n)&&!to(n)&&(a=Me(a),n=Me(n)),!r&&Je(a)&&!Je(n))return c||(a.value=n),!0}const i=r?Number(o)e,Qn=e=>Reflect.getPrototypeOf(e);function fd(e,t,o){return function(...n){const s=this.__v_raw,a=Me(s),r=ho(a),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=s[e](...n),u=o?cs:t?qo:It;return!t&&ht(a,"iterate",l?rs:$o),ot(Object.create(c),{next(){const{value:m,done:h}=c.next();return h?{value:m,done:h}:{value:i?[u(m[0]),u(m[1])]:u(m),done:h}}})}}function ea(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function hd(e,t){const o={get(s){const a=this.__v_raw,r=Me(a),i=Me(s);e||(jt(s,i)&&ht(r,"get",s),ht(r,"get",i));const{has:l}=Qn(r),c=t?cs:e?qo:It;if(l.call(r,s))return c(a.get(s));if(l.call(r,i))return c(a.get(i));a!==r&&a.get(s)},get size(){const s=this.__v_raw;return!e&&ht(Me(s),"iterate",$o),s.size},has(s){const a=this.__v_raw,r=Me(a),i=Me(s);return e||(jt(s,i)&&ht(r,"has",s),ht(r,"has",i)),s===i?a.has(s):a.has(s)||a.has(i)},forEach(s,a){const r=this,i=r.__v_raw,l=Me(i),c=t?cs:e?qo:It;return!e&&ht(l,"iterate",$o),i.forEach((u,m)=>s.call(a,c(u),c(m),r))}};return ot(o,e?{add:ea("add"),set:ea("set"),delete:ea("delete"),clear:ea("clear")}:{add(s){const a=Me(this),r=Qn(a),i=Me(s),l=!t&&!St(s)&&!to(s)?i:s;return r.has.call(a,l)||jt(s,l)&&r.has.call(a,s)||jt(i,l)&&r.has.call(a,i)||(a.add(l),Zt(a,"add",l,l)),this},set(s,a){!t&&!St(a)&&!to(a)&&(a=Me(a));const r=Me(this),{has:i,get:l}=Qn(r);let c=i.call(r,s);c||(s=Me(s),c=i.call(r,s));const u=l.call(r,s);return r.set(s,a),c?jt(a,u)&&Zt(r,"set",s,a):Zt(r,"add",s,a),this},delete(s){const a=Me(this),{has:r,get:i}=Qn(a);let l=r.call(a,s);l||(s=Me(s),l=r.call(a,s)),i&&i.call(a,s);const c=a.delete(s);return l&&Zt(a,"delete",s,void 0),c},clear(){const s=Me(this),a=s.size!==0,r=s.clear();return a&&Zt(s,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=fd(s,e,t)}),o}function ta(e,t){const o=hd(e,t);return(n,s,a)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(je(o,s)&&s in n?o:n,s,a)}const md={get:ta(!1,!1)},bd={get:ta(!1,!0)},yd={get:ta(!0,!1)},_d={get:ta(!0,!0)},ri=new WeakMap,ii=new WeakMap,li=new WeakMap,ci=new WeakMap;function vd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ko(e){return to(e)?e:oa(e,!1,ud,md,ri)}function kd(e){return oa(e,!1,gd,bd,ii)}function us(e){return oa(e,!0,dd,yd,li)}function Ak(e){return oa(e,!0,pd,_d,ci)}function oa(e,t,o,n,s){if(!ze(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const a=s.get(e);if(a)return a;const r=vd(qu(e));if(r===0)return e;const i=new Proxy(e,r===2?n:o);return s.set(e,i),i}function eo(e){return to(e)?eo(e.__v_raw):!!(e&&e.__v_isReactive)}function to(e){return!!(e&&e.__v_isReadonly)}function St(e){return!!(e&&e.__v_isShallow)}function na(e){return e?!!e.__v_raw:!1}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function Ho(e){return!je(e,"__v_skip")&&Object.isExtensible(e)&&Dr(e,"__v_skip",!0),e}const It=e=>ze(e)?Ko(e):e,qo=e=>ze(e)?us(e):e;function Je(e){return e?e.__v_isRef===!0:!1}function me(e){return ui(e,!1)}function ds(e){return ui(e,!0)}function ui(e,t){return Je(e)?e:new wd(e,t)}class wd{constructor(t,o){this.dep=new ss,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Me(t),this._value=o?t:It(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||St(t)||to(t);t=n?t:Me(t),jt(t,o)&&(this._rawValue=t,this._value=n?t:It(t),this.dep.trigger())}}function pe(e){return Je(e)?e.value:e}const xd={get:(e,t,o)=>t==="__v_raw"?e:pe(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const s=e[t];return Je(s)&&!Je(o)?(s.value=o,!0):Reflect.set(e,t,o,n)}};function di(e){return eo(e)?e:new Proxy(e,xd)}function Sd(e){const t=xe(e)?new Array(e.length):{};for(const o in e)t[o]=gi(e,o);return t}class Ad{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=xt(o)?o:String(o),this._raw=Me(t);let s=!0,a=t;if(!xe(t)||xt(this._key)||!qn(this._key))do s=!na(a)||St(a);while(s&&(a=a.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=pe(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 sd(this._raw,this._key)}}class Ld{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 gs(e,t,o){return Je(e)?e:Le(e)?new Ld(e):ze(e)&&arguments.length>1?gi(e,t,o):me(e)}function gi(e,t,o){return new Ad(e,t,o)}class Ed{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new ss(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=mn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&qe!==this)return Vr(this,!0),!0}get value(){const t=this.dep.track();return Xr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Cd(e,t,o=!1){let n,s;return Le(e)?n=e:(n=e.get,s=e.set),new Ed(n,s,o)}const aa={},sa=new WeakMap;let To;function $d(e,t=!1,o=To){if(o){let n=sa.get(o);n||sa.set(o,n=[]),n.push(e)}}function Td(e,t,o=Ke){const{immediate:n,deep:s,once:a,scheduler:r,augmentJob:i,call:l}=o,c=b=>s?b:St(b)||s===!1||s===0?oo(b,1):oo(b);let u,m,h,L,A=!1,p=!1;if(Je(e)?(m=()=>e.value,A=St(e)):eo(e)?(m=()=>c(e),A=!0):xe(e)?(p=!0,A=e.some(b=>eo(b)||St(b)),m=()=>e.map(b=>{if(Je(b))return b.value;if(eo(b))return c(b);if(Le(b))return l?l(b,2):b()})):Le(e)?t?m=l?()=>l(e,2):e:m=()=>{if(h){zt();try{h()}finally{Ut()}}const b=To;To=u;try{return l?l(e,3,[L]):e(L)}finally{To=b}}:m=Bt,t&&s){const b=m,_=s===!0?1/0:s;m=()=>oo(b(),_)}const S=Hr(),v=()=>{u.stop(),S&&S.active&&Ya(S.effects,u)};if(a&&t){const b=t;t=(..._)=>{const E=b(..._);return v(),E}}let w=p?new Array(e.length).fill(aa):aa;const f=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const _=u.run();if(b||s||A||(p?_.some((E,M)=>jt(E,w[M])):jt(_,w))){h&&h();const E=To;To=u;try{const M=[_,w===aa?void 0:p&&w[0]===aa?[]:w,L];w=_,l?l(t,3,M):t(...M)}finally{To=E}}}else u.run()};return i&&i(f),u=new qr(m),u.scheduler=r?()=>r(f,!1):f,L=b=>$d(b,!1,u),h=u.onStop=()=>{const b=sa.get(u);if(b){if(l)l(b,4);else for(const _ of b)_();sa.delete(u)}},t?n?f(!0):w=u.run():r?r(f.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function oo(e,t=1/0,o){if(t<=0||!ze(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Je(e))oo(e.value,t,o);else if(xe(e))for(let n=0;n{oo(n,t,o)});else if(Hn(e)){for(const n in e)oo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&oo(e[n],t,o)}return e}/** +**/let rt;class Gr{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&&rt&&(rt.active?(this.parent=rt,this.index=(rt.scopes||(rt.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(rt===this)rt=this.prevScope;else{let t=rt;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(fn){let t=fn;for(fn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;pn;){let t=pn;for(pn=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 Vr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Yr(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),ns(n),od(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=o}function os(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Jr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Jr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===hn)||(e.globalVersion=hn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!os(e))))return;e.flags|=2;const t=e.dep,o=qe,n=Nt;qe=e,Nt=!0;try{Vr(e);const s=e.fn(e._value);(t.version===0||jt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{qe=o,Nt=n,Yr(e),e.flags&=-3}}function ns(e,t=!1){const{dep:o,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let a=o.computed.deps;a;a=a.nextDep)ns(a,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function od(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Nt=!0;const Xr=[];function zt(){Xr.push(Nt),Nt=!1}function Ut(){const e=Xr.pop();Nt=e===void 0?!0:e}function Zr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=qe;qe=void 0;try{t()}finally{qe=o}}}let hn=0;class nd{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 as{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(!qe||!Nt||qe===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==qe)o=this.activeLink=new nd(qe,this),qe.deps?(o.prevDep=qe.depsTail,qe.depsTail.nextDep=o,qe.depsTail=o):qe.deps=qe.depsTail=o,Qr(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=qe.depsTail,o.nextDep=void 0,qe.depsTail.nextDep=o,qe.depsTail=o,qe.deps===o&&(qe.deps=n)}return o}trigger(t){this.version++,hn++,this.notify(t)}notify(t){es();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{ts()}}}function Qr(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)Qr(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Jn=new WeakMap,$o=Symbol(""),ss=Symbol(""),mn=Symbol("");function ht(e,t,o){if(Nt&&qe){let n=Jn.get(e);n||Jn.set(e,n=new Map);let s=n.get(o);s||(n.set(o,s=new as),s.map=n,s.key=o),s.track()}}function Zt(e,t,o,n,s,a){const r=Jn.get(e);if(!r){hn++;return}const i=l=>{l&&l.trigger()};if(es(),t==="clear")r.forEach(i);else{const l=xe(e),c=l&&Hn(o);if(l&&o==="length"){const u=Number(n);r.forEach((m,h)=>{(h==="length"||h===mn||!xt(h)&&h>=u)&&i(m)})}else switch((o!==void 0||r.has(void 0))&&i(r.get(o)),c&&i(r.get(mn)),t){case"add":l?c&&i(r.get("length")):(i(r.get($o)),ho(e)&&i(r.get(ss)));break;case"delete":l||(i(r.get($o)),ho(e)&&i(r.get(ss)));break;case"set":ho(e)&&i(r.get($o));break}}ts()}function ad(e,t){const o=Jn.get(e);return o&&o.get(t)}function Uo(e){const t=Me(e);return t===e?t:(ht(t,"iterate",mn),St(e)?t:t.map(It))}function Xn(e){return ht(e=Me(e),"iterate",mn),e}function Gt(e,t){return to(e)?Ho(eo(e)?It(t):t):It(t)}const sd={__proto__:null,[Symbol.iterator](){return rs(this,Symbol.iterator,e=>Gt(this,e))},concat(...e){return Uo(this).concat(...e.map(t=>xe(t)?Uo(t):t))},entries(){return rs(this,"entries",e=>(e[1]=Gt(this,e[1]),e))},every(e,t){return Qt(this,"every",e,t,void 0,arguments)},filter(e,t){return Qt(this,"filter",e,t,o=>o.map(n=>Gt(this,n)),arguments)},find(e,t){return Qt(this,"find",e,t,o=>Gt(this,o),arguments)},findIndex(e,t){return Qt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Qt(this,"findLast",e,t,o=>Gt(this,o),arguments)},findLastIndex(e,t){return Qt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Qt(this,"forEach",e,t,void 0,arguments)},includes(...e){return is(this,"includes",e)},indexOf(...e){return is(this,"indexOf",e)},join(e){return Uo(this).join(e)},lastIndexOf(...e){return is(this,"lastIndexOf",e)},map(e,t){return Qt(this,"map",e,t,void 0,arguments)},pop(){return bn(this,"pop")},push(...e){return bn(this,"push",e)},reduce(e,...t){return ei(this,"reduce",e,t)},reduceRight(e,...t){return ei(this,"reduceRight",e,t)},shift(){return bn(this,"shift")},some(e,t){return Qt(this,"some",e,t,void 0,arguments)},splice(...e){return bn(this,"splice",e)},toReversed(){return Uo(this).toReversed()},toSorted(e){return Uo(this).toSorted(e)},toSpliced(...e){return Uo(this).toSpliced(...e)},unshift(...e){return bn(this,"unshift",e)},values(){return rs(this,"values",e=>Gt(this,e))}};function rs(e,t,o){const n=Xn(e),s=n[t]();return n!==e&&!St(e)&&(s._next=s.next,s.next=()=>{const a=s._next();return a.done||(a.value=o(a.value)),a}),s}const rd=Array.prototype;function Qt(e,t,o,n,s,a){const r=Xn(e),i=r!==e&&!St(e),l=r[t];if(l!==rd[t]){const m=l.apply(e,a);return i?It(m):m}let c=o;r!==e&&(i?c=function(m,h){return o.call(this,Gt(e,m),h,e)}:o.length>2&&(c=function(m,h){return o.call(this,m,h,e)}));const u=l.call(r,c,n);return i&&s?s(u):u}function ei(e,t,o,n){const s=Xn(e),a=s!==e&&!St(e);let r=o,i=!1;s!==e&&(a?(i=n.length===0,r=function(c,u,m){return i&&(i=!1,c=Gt(e,c)),o.call(this,c,Gt(e,u),m,e)}):o.length>3&&(r=function(c,u,m){return o.call(this,c,u,m,e)}));const l=s[t](r,...n);return i?Gt(e,l):l}function is(e,t,o){const n=Me(e);ht(n,"iterate",mn);const s=n[t](...o);return(s===-1||s===!1)&&oa(o[0])?(o[0]=Me(o[0]),n[t](...o)):s}function bn(e,t,o=[]){zt(),es();const n=Me(e)[t].apply(e,o);return ts(),Ut(),n}const id=Wa("__proto__,__v_isRef,__isVue"),ti=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xt));function ld(e){xt(e)||(e=String(e));const t=Me(this);return ht(t,"has",e),t.hasOwnProperty(e)}class oi{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const s=this._isReadonly,a=this._isShallow;if(o==="__v_isReactive")return!s;if(o==="__v_isReadonly")return s;if(o==="__v_isShallow")return a;if(o==="__v_raw")return n===(s?a?li:ii:a?ri:si).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=xe(t);if(!s){let l;if(r&&(l=sd[o]))return l;if(o==="hasOwnProperty")return ld}const i=Reflect.get(t,o,Je(t)?t:n);if((xt(o)?ti.has(o):id(o))||(s||ht(t,"get",o),a))return i;if(Je(i)){const l=r&&Hn(o)?i:i.value;return s&&ze(l)?cs(l):l}return ze(i)?s?cs(i):Go(i):i}}class ni extends oi{constructor(t=!1){super(!1,t)}set(t,o,n,s){let a=t[o];const r=xe(t)&&Hn(o);if(!this._isShallow){const c=to(a);if(!St(n)&&!to(n)&&(a=Me(a),n=Me(n)),!r&&Je(a)&&!Je(n))return c||(a.value=n),!0}const i=r?Number(o)e,Zn=e=>Reflect.getPrototypeOf(e);function pd(e,t,o){return function(...n){const s=this.__v_raw,a=Me(s),r=ho(a),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=s[e](...n),u=o?ls:t?Ho:It;return!t&&ht(a,"iterate",l?ss:$o),ot(Object.create(c),{next(){const{value:m,done:h}=c.next();return h?{value:m,done:h}:{value:i?[u(m[0]),u(m[1])]:u(m),done:h}}})}}function Qn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fd(e,t){const o={get(s){const a=this.__v_raw,r=Me(a),i=Me(s);e||(jt(s,i)&&ht(r,"get",s),ht(r,"get",i));const{has:l}=Zn(r),c=t?ls:e?Ho:It;if(l.call(r,s))return c(a.get(s));if(l.call(r,i))return c(a.get(i));a!==r&&a.get(s)},get size(){const s=this.__v_raw;return!e&&ht(Me(s),"iterate",$o),s.size},has(s){const a=this.__v_raw,r=Me(a),i=Me(s);return e||(jt(s,i)&&ht(r,"has",s),ht(r,"has",i)),s===i?a.has(s):a.has(s)||a.has(i)},forEach(s,a){const r=this,i=r.__v_raw,l=Me(i),c=t?ls:e?Ho:It;return!e&&ht(l,"iterate",$o),i.forEach((u,m)=>s.call(a,c(u),c(m),r))}};return ot(o,e?{add:Qn("add"),set:Qn("set"),delete:Qn("delete"),clear:Qn("clear")}:{add(s){const a=Me(this),r=Zn(a),i=Me(s),l=!t&&!St(s)&&!to(s)?i:s;return r.has.call(a,l)||jt(s,l)&&r.has.call(a,s)||jt(i,l)&&r.has.call(a,i)||(a.add(l),Zt(a,"add",l,l)),this},set(s,a){!t&&!St(a)&&!to(a)&&(a=Me(a));const r=Me(this),{has:i,get:l}=Zn(r);let c=i.call(r,s);c||(s=Me(s),c=i.call(r,s));const u=l.call(r,s);return r.set(s,a),c?jt(a,u)&&Zt(r,"set",s,a):Zt(r,"add",s,a),this},delete(s){const a=Me(this),{has:r,get:i}=Zn(a);let l=r.call(a,s);l||(s=Me(s),l=r.call(a,s)),i&&i.call(a,s);const c=a.delete(s);return l&&Zt(a,"delete",s,void 0),c},clear(){const s=Me(this),a=s.size!==0,r=s.clear();return a&&Zt(s,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=pd(s,e,t)}),o}function ea(e,t){const o=fd(e,t);return(n,s,a)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(je(o,s)&&s in n?o:n,s,a)}const hd={get:ea(!1,!1)},md={get:ea(!1,!0)},bd={get:ea(!0,!1)},yd={get:ea(!0,!0)},si=new WeakMap,ri=new WeakMap,ii=new WeakMap,li=new WeakMap;function _d(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Go(e){return to(e)?e:ta(e,!1,cd,hd,si)}function vd(e){return ta(e,!1,dd,md,ri)}function cs(e){return ta(e,!0,ud,bd,ii)}function Sk(e){return ta(e,!0,gd,yd,li)}function ta(e,t,o,n,s){if(!ze(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const a=s.get(e);if(a)return a;const r=_d(Hu(e));if(r===0)return e;const i=new Proxy(e,r===2?n:o);return s.set(e,i),i}function eo(e){return to(e)?eo(e.__v_raw):!!(e&&e.__v_isReactive)}function to(e){return!!(e&&e.__v_isReadonly)}function St(e){return!!(e&&e.__v_isShallow)}function oa(e){return e?!!e.__v_raw:!1}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function Ko(e){return!je(e,"__v_skip")&&Object.isExtensible(e)&&Rr(e,"__v_skip",!0),e}const It=e=>ze(e)?Go(e):e,Ho=e=>ze(e)?cs(e):e;function Je(e){return e?e.__v_isRef===!0:!1}function me(e){return ci(e,!1)}function us(e){return ci(e,!0)}function ci(e,t){return Je(e)?e:new kd(e,t)}class kd{constructor(t,o){this.dep=new as,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Me(t),this._value=o?t:It(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||St(t)||to(t);t=n?t:Me(t),jt(t,o)&&(this._rawValue=t,this._value=n?t:It(t),this.dep.trigger())}}function pe(e){return Je(e)?e.value:e}const wd={get:(e,t,o)=>t==="__v_raw"?e:pe(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const s=e[t];return Je(s)&&!Je(o)?(s.value=o,!0):Reflect.set(e,t,o,n)}};function ui(e){return eo(e)?e:new Proxy(e,wd)}function xd(e){const t=xe(e)?new Array(e.length):{};for(const o in e)t[o]=di(e,o);return t}class Sd{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=xt(o)?o:String(o),this._raw=Me(t);let s=!0,a=t;if(!xe(t)||xt(this._key)||!Hn(this._key))do s=!oa(a)||St(a);while(s&&(a=a.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=pe(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 ad(this._raw,this._key)}}class Ad{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 ds(e,t,o){return Je(e)?e:Le(e)?new Ad(e):ze(e)&&arguments.length>1?di(e,t,o):me(e)}function di(e,t,o){return new Sd(e,t,o)}class Ld{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new as(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=hn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&qe!==this)return Wr(this,!0),!0}get value(){const t=this.dep.track();return Jr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ed(e,t,o=!1){let n,s;return Le(e)?n=e:(n=e.get,s=e.set),new Ld(n,s,o)}const na={},aa=new WeakMap;let To;function Cd(e,t=!1,o=To){if(o){let n=aa.get(o);n||aa.set(o,n=[]),n.push(e)}}function $d(e,t,o=Ge){const{immediate:n,deep:s,once:a,scheduler:r,augmentJob:i,call:l}=o,c=b=>s?b:St(b)||s===!1||s===0?oo(b,1):oo(b);let u,m,h,L,A=!1,f=!1;if(Je(e)?(m=()=>e.value,A=St(e)):eo(e)?(m=()=>c(e),A=!0):xe(e)?(f=!0,A=e.some(b=>eo(b)||St(b)),m=()=>e.map(b=>{if(Je(b))return b.value;if(eo(b))return c(b);if(Le(b))return l?l(b,2):b()})):Le(e)?t?m=l?()=>l(e,2):e:m=()=>{if(h){zt();try{h()}finally{Ut()}}const b=To;To=u;try{return l?l(e,3,[L]):e(L)}finally{To=b}}:m=Bt,t&&s){const b=m,_=s===!0?1/0:s;m=()=>oo(b(),_)}const S=Kr(),v=()=>{u.stop(),S&&S.active&&Va(S.effects,u)};if(a&&t){const b=t;t=(..._)=>{const E=b(..._);return v(),E}}let w=f?new Array(e.length).fill(na):na;const p=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const _=u.run();if(b||s||A||(f?_.some((E,M)=>jt(E,w[M])):jt(_,w))){h&&h();const E=To;To=u;try{const M=[_,w===na?void 0:f&&w[0]===na?[]:w,L];w=_,l?l(t,3,M):t(...M)}finally{To=E}}}else u.run()};return i&&i(p),u=new Hr(m),u.scheduler=r?()=>r(p,!1):p,L=b=>Cd(b,!1,u),h=u.onStop=()=>{const b=aa.get(u);if(b){if(l)l(b,4);else for(const _ of b)_();aa.delete(u)}},t?n?p(!0):w=u.run():r?r(p.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function oo(e,t=1/0,o){if(t<=0||!ze(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Je(e))oo(e.value,t,o);else if(xe(e))for(let n=0;n{oo(n,t,o)});else if(Kn(e)){for(const n in e)oo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&oo(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const _n=[];let ps=!1;function Lk(e,...t){if(ps)return;ps=!0,zt();const o=_n.length?_n[_n.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=Pd();if(n)Wo(n,o,11,[e+t.map(a=>{var r,i;return(i=(r=a.toString)==null?void 0:r.call(a))!=null?i:JSON.stringify(a)}).join(""),o&&o.proxy,s.map(({vnode:a})=>`at <${cl(o,a.type)}>`).join(` +**/const yn=[];let gs=!1;function Ak(e,...t){if(gs)return;gs=!0,zt();const o=yn.length?yn[yn.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=Td();if(n)qo(n,o,11,[e+t.map(a=>{var r,i;return(i=(r=a.toString)==null?void 0:r.call(a))!=null?i:JSON.stringify(a)}).join(""),o&&o.proxy,s.map(({vnode:a})=>`at <${ll(o,a.type)}>`).join(` `),s]);else{const a=[`[Vue warn]: ${e}`,...t];s.length&&a.push(` -`,...Nd(s)),console.warn(...a)}Ut(),ps=!1}function Pd(){let e=_n[_n.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Nd(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` -`],...Id(o))}),t}function Id({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${cl(e.component,e.type,n)}`,a=">"+o;return e.props?[s,...Md(e.props),a]:[s+a]}function Md(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...pi(n,e[n]))}),o.length>3&&t.push(" ..."),t}function pi(e,t,o){return Ye(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Je(t)?(t=pi(e,Me(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):Le(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Me(t),o?t:[`${e}=`,t])}function Wo(e,t,o,n){try{return n?e(...n):e()}catch(s){vn(s,t,o)}}function Mt(e,t,o,n){if(Le(e)){const s=Wo(e,t,o,n);return s&&Fr(s)&&s.catch(a=>{vn(a,t,o)}),s}if(xe(e)){const s=[];for(let a=0;a>>1,s=mt[n],a=kn(s);a=kn(o)?mt.push(e):mt.splice(Rd(t),0,e),e.flags|=1,hi()}}function hi(){ra||(ra=fi.then(yi))}function Dd(e){if(!xe(e))mo&&e.id===-1?mo.splice(Yo+1,0,e):e.flags&1||(Vo.push(e),e.flags|=1);else for(let t=0;tkn(o)-kn(n));if(Vo.length=0,mo){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function yi(e){try{for(Kt=0;Kt{n._d&&ba(-1);const a=ia(t),r=ao.length;let i;try{i=e(...s)}finally{for(let l=ao.length;l>r;l--)$s();ia(a),n._d&&ba(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Od(e,t){if(gt===null)return e;const o=ka(gt),n=e.dirs||(e.dirs=[]);for(let s=0;s1)return o&&Le(t)?t.call(n&&n.proxy):t}}function Bd(){return!!(ro()||No)}const jd=Symbol.for("v-scx"),zd=()=>Te(jd);function Ud(e,t){return hs(e,null,t)}function Ue(e,t,o){return hs(e,t,o)}function hs(e,t,o=Ke){const{immediate:n,deep:s,flush:a,once:r}=o,i=ot({},o),l=t&&n||!t&&a!=="post";let c;if(Qo){if(a==="sync"){const L=zd();c=L.__watcherHandles||(L.__watcherHandles=[])}else if(!l){const L=()=>{};return L.stop=Bt,L.resume=Bt,L.pause=Bt,L}}const u=pt;i.call=(L,A,p)=>Mt(L,u,A,p);let m=!1;a==="post"?i.scheduler=L=>{vt(L,u&&u.suspense)}:a!=="sync"&&(m=!0,i.scheduler=(L,A)=>{A?L():fs(L)}),i.augmentJob=L=>{t&&(L.flags|=4),m&&(L.flags|=2,u&&(L.id=u.uid,L.i=u))};const h=Td(e,t,i);return Qo&&(c?c.push(h):l&&h()),h}function Gd(e,t,o){const n=this.proxy,s=Ye(e)?e.includes(".")?vi(n,e):()=>n[e]:e.bind(n,n);let a;Le(t)?a=t:(a=t.handler,o=t);const r=Pn(this),i=hs(s,a.bind(n),o);return r(),i}function vi(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;se.__isTeleport,ms=Symbol("_leaveCb");function Hd(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==qt){t=o;break}}return t}function ki(e){if(!da(e))return la(e.type)&&e.children?Hd(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&&Le(o.default))return o.default()}}function bs(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;bs(la(o.type)&&ki(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 wn(e,t){return Le(e)?ot({name:e.name},t,{setup:e}):e}function ys(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function wi(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const ca=new WeakMap;function xn(e,t,o,n,s=!1){if(xe(e)){e.forEach((p,S)=>xn(p,t&&(xe(t)?t[S]:t),o,n,s));return}if(Xo(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&xn(e,t,o,n.component.subTree);return}const a=n.shapeFlag&4?ka(n.component):n.el,r=s?null:a,{i,r:l}=e,c=t&&t.r,u=i.refs===Ke?i.refs={}:i.refs,m=i.setupState,h=Me(m),L=m===Ke?Ir:p=>wi(u,p)?!1:je(h,p),A=(p,S)=>!(S&&wi(u,S));if(c!=null&&c!==l){if(xi(t),Ye(c))u[c]=null,L(c)&&(m[c]=null);else if(Je(c)){const p=t;A(c,p.k)&&(c.value=null),p.k&&(u[p.k]=null)}}if(Le(l))Wo(l,i,12,[r,u]);else{const p=Ye(l),S=Je(l);if(p||S){const v=()=>{if(e.f){const w=p?L(l)?m[l]:u[l]:A()||!e.k?l.value:u[e.k];if(s)xe(w)&&Ya(w,a);else if(xe(w))w.includes(a)||w.push(a);else if(p)u[l]=[a],L(l)&&(m[l]=u[l]);else{const f=[a];A(l,e.k)&&(l.value=f),e.k&&(u[e.k]=f)}}else p?(u[l]=r,L(l)&&(m[l]=r)):S&&(A(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const w=()=>{v(),ca.delete(e)};w.id=-1,ca.set(e,w),vt(w,o)}else xi(e),v()}}}function xi(e){const t=ca.get(e);t&&(t.flags|=8,ca.delete(e))}const Si=e=>e.nodeType===8;Yn().requestIdleCallback,Yn().cancelIdleCallback;function qd(e,t){if(Si(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Si(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const Xo=e=>!!e.type.__asyncLoader;function _s(e){Le(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:s=200,hydrate:a,timeout:r,suspensible:i=!0,onError:l}=e;let c=null,u,m=0;const h=()=>(m++,c=null,L()),L=()=>{let A;return c||(A=c=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),l)return new Promise((S,v)=>{l(p,()=>S(h()),()=>v(p),m+1)});throw p}).then(p=>A!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),u=p,p)))};return wn({name:"AsyncComponentWrapper",__asyncLoader:L,__asyncHydrate(A,p,S){const v=A.isConnected;let w=!1;(p.bu||(p.bu=[])).push(()=>w=!0);const f=()=>{w||!A.parentNode||v&&!A.isConnected||S()},b=a?()=>{const _=a(f,E=>qd(A,E));_&&(p.bum||(p.bum=[])).push(_)}:f;u?b():L().then(()=>!p.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const A=pt;if(ys(A),u)return()=>ua(u,A);const p=_=>{c=null,vn(_,A,13,!n)};if(i&&A.suspense||Qo)return L().then(_=>()=>ua(_,A)).catch(_=>(p(_),()=>n?We(n,{error:_}):null));const S=me(!1),v=me(),w=me(!!s);let f,b;return pa(()=>{f!=null&&clearTimeout(f),b!=null&&clearTimeout(b)}),s&&(b=setTimeout(()=>{A.isUnmounted||(w.value=!1)},s)),r!=null&&(f=setTimeout(()=>{if(!A.isUnmounted&&!S.value&&!v.value){const _=new Error(`Async component timed out after ${r}ms.`);p(_),v.value=_}},r)),L().then(()=>{A.isUnmounted||(S.value=!0,A.parent&&da(A.parent.vnode)&&A.parent.update())}).catch(_=>{if(A.isUnmounted){c=null;return}p(_),v.value=_}),()=>{if(S.value&&u)return ua(u,A);if(v.value&&n)return We(n,{error:v.value});if(o&&!w.value)return ua(o,A)}}})}function ua(e,t){const{ref:o,props:n,children:s,ce:a}=t.vnode,r=We(e,n,s);return r.ref=o,r.ce=a,delete t.vnode.ce,r}const da=e=>e.type.__isKeepAlive;function Wd(e,t){Ai(e,"a",t)}function Vd(e,t){Ai(e,"da",t)}function Ai(e,t,o=pt){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ga(t,n,o),o){let s=o.parent;for(;s&&s.parent;)da(s.parent.vnode)&&Yd(n,t,o,s),s=s.parent}}function Yd(e,t,o,n){const s=ga(t,e,n,!0);pa(()=>{Ya(n[t],s)},o)}function ga(e,t,o=pt,n=!1){if(o){const s=o[e]||(o[e]=[]),a=t.__weh||(t.__weh=(...r)=>{zt();const i=Pn(o),l=Mt(t,o,e,r);return i(),Ut(),l});return n?s.unshift(a):s.push(a),a}}const no=e=>(t,o=pt)=>{(!Qo||e==="sp")&&ga(e,(...n)=>t(...n),o)},Li=no("bm"),Ht=no("m"),Jd=no("bu"),Xd=no("u"),bo=no("bum"),pa=no("um"),Zd=no("sp"),Qd=no("rtg"),eg=no("rtc");function tg(e,t=pt){ga("ec",e,t)}const og="components",Ei=Symbol.for("v-ndc");function Ci(e){return Ye(e)?ng(og,e,!1)||e:e||Ei}function ng(e,t,o=!0,n=!1){const s=gt||pt;if(s){const a=s.type;{const i=ll(a,!1);if(i&&(i===t||i===ct(t)||i===Vn(ct(t))))return a}const r=$i(s[e]||a[e],t)||$i(s.appContext[e],t);return!r&&n?a:r}}function $i(e,t){return e&&(e[t]||e[ct(t)]||e[Vn(ct(t))])}function At(e,t,o,n){let s;const a=o,r=xe(e);if(r||Ye(e)){const i=r&&eo(e);let l=!1,c=!1;i&&(l=!St(e),c=to(e),e=Zn(e)),s=new Array(e.length);for(let u=0,m=e.length;ut(i,l,void 0,a));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),V(),Xe(Re,null,[We("slot",c,n)],u?-2:64)}let r=e[t];r&&r._c&&(r._d=!1);const i=ao.length;V();let l;try{const c=r&&Ti(r(o)),u=o.key||a||c&&c.key;l=Xe(Re,{key:(u&&!xt(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=ao.length;u>i;u--)$s();throw c}finally{r&&r._c&&(r._d=!0)}return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Ti(e){return e.some(t=>Cn(t)?!(t.type===qt||t.type===Re&&!Ti(t.children)):!0)?e:null}const vs=e=>e?sl(e)?ka(e):vs(e.parent):null,Sn=ot(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>vs(e.parent),$root:e=>vs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Mi(e),$forceUpdate:e=>e.f||(e.f=()=>{fs(e.update)}),$nextTick:e=>e.n||(e.n=Jo.bind(e.proxy)),$watch:e=>Gd.bind(e)}),ks=(e,t)=>e!==Ke&&!e.__isScriptSetup&&je(e,t),ag={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:s,props:a,accessCache:r,type:i,appContext:l}=e;if(t[0]!=="$"){const h=r[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return s[t];case 4:return o[t];case 3:return a[t]}else{if(ks(n,t))return r[t]=1,n[t];if(s!==Ke&&je(s,t))return r[t]=2,s[t];if(je(a,t))return r[t]=3,a[t];if(o!==Ke&&je(o,t))return r[t]=4,o[t];ws&&(r[t]=0)}}const c=Sn[t];let u,m;if(c)return t==="$attrs"&&ht(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==Ke&&je(o,t))return r[t]=4,o[t];if(m=l.config.globalProperties,je(m,t))return m[t]},set({_:e},t,o){const{data:n,setupState:s,ctx:a}=e;return ks(s,t)?(s[t]=o,!0):n!==Ke&&je(n,t)?(n[t]=o,!0):je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:s,props:a,type:r}},i){let l;return!!(o[i]||e!==Ke&&i[0]!=="$"&&je(e,i)||ks(t,i)||je(a,i)||je(n,i)||je(Sn,i)||je(s.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:je(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function Pi(e){return xe(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let ws=!0;function sg(e){const t=Mi(e),o=e.proxy,n=e.ctx;ws=!1,t.beforeCreate&&Ni(t.beforeCreate,e,"bc");const{data:s,computed:a,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:m,mounted:h,beforeUpdate:L,updated:A,activated:p,deactivated:S,beforeDestroy:v,beforeUnmount:w,destroyed:f,unmounted:b,render:_,renderTracked:E,renderTriggered:M,errorCaptured:P,serverPrefetch:x,expose:R,inheritAttrs:J,components:Q,directives:le,filters:G}=t;if(c&&rg(c,n,null),r)for(const T in r){const W=r[T];Le(W)&&(n[T]=W.bind(o))}if(s){const T=s.call(o,o);ze(T)&&(e.data=Ko(T))}if(ws=!0,a)for(const T in a){const W=a[T],he=Le(W)?W.bind(o,o):Le(W.get)?W.get.bind(o,o):Bt,Z=!Le(W)&&Le(W.set)?W.set.bind(o):Bt,re=Y({get:he,set:Z});Object.defineProperty(n,T,{enumerable:!0,configurable:!0,get:()=>re.value,set:de=>re.value=de})}if(i)for(const T in i)Ii(i[T],n,o,T);if(l){const T=Le(l)?l.call(o):l;Reflect.ownKeys(T).forEach(W=>{bt(W,T[W])})}u&&Ni(u,e,"c");function F(T,W){xe(W)?W.forEach(he=>T(he.bind(o))):W&&T(W.bind(o))}if(F(Li,m),F(Ht,h),F(Jd,L),F(Xd,A),F(Wd,p),F(Vd,S),F(tg,P),F(eg,E),F(Qd,M),F(bo,w),F(pa,b),F(Zd,x),xe(R))if(R.length){const T=e.exposed||(e.exposed={});R.forEach(W=>{Object.defineProperty(T,W,{get:()=>o[W],set:he=>o[W]=he,enumerable:!0})})}else e.exposed||(e.exposed={});_&&e.render===Bt&&(e.render=_),J!=null&&(e.inheritAttrs=J),Q&&(e.components=Q),le&&(e.directives=le),x&&ys(e)}function rg(e,t,o=Bt){xe(e)&&(e=xs(e));for(const n in e){const s=e[n];let a;ze(s)?"default"in s?a=Te(s.from||n,s.default,!0):a=Te(s.from||n):a=Te(s),Je(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:r=>a.value=r}):t[n]=a}}function Ni(e,t,o){Mt(xe(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Ii(e,t,o,n){let s=n.includes(".")?vi(o,n):()=>o[n];if(Ye(e)){const a=t[e];Le(a)&&Ue(s,a)}else if(Le(e))Ue(s,e.bind(o));else if(ze(e))if(xe(e))e.forEach(a=>Ii(a,t,o,n));else{const a=Le(e.handler)?e.handler.bind(o):t[e.handler];Le(a)&&Ue(s,a,e)}}function Mi(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:s,optionsCache:a,config:{optionMergeStrategies:r}}=e.appContext,i=a.get(t);let l;return i?l=i:!s.length&&!o&&!n?l=t:(l={},s.length&&s.forEach(c=>ha(l,c,r,!0)),ha(l,t,r)),ze(t)&&a.set(t,l),l}function ha(e,t,o,n=!1){const{mixins:s,extends:a}=t;a&&ha(e,a,o,!0),s&&s.forEach(r=>ha(e,r,o,!0));for(const r in t)if(!(n&&r==="expose")){const i=ig[r]||o&&o[r];e[r]=i?i(e[r],t[r]):t[r]}return e}const ig={data:Fi,props:Ri,emits:Ri,methods:An,computed:An,beforeCreate:yt,created:yt,beforeMount:yt,mounted:yt,beforeUpdate:yt,updated:yt,beforeDestroy:yt,beforeUnmount:yt,destroyed:yt,unmounted:yt,activated:yt,deactivated:yt,errorCaptured:yt,serverPrefetch:yt,components:An,directives:An,watch:cg,provide:Fi,inject:lg};function Fi(e,t){return t?e?function(){return ot(Le(e)?e.call(this,this):e,Le(t)?t.call(this,this):t)}:t:e}function lg(e,t){return An(xs(e),xs(t))}function xs(e){if(xe(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ct(t)}Modifiers`]||e[`${Ct(t)}Modifiers`];function pg(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||Ke;let s=o;const a=t.startsWith("update:"),r=a&&gg(n,t.slice(7));r&&(r.trim&&(s=o.map(u=>Ye(u)?u.trim():u)),r.number&&(s=s.map(Yu)));let i,l=n[i=Ja(t)]||n[i=Ja(ct(t))];!l&&a&&(l=n[i=Ja(Ct(t))]),l&&Mt(l,e,6,s);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Mt(c,e,6,s)}}const fg=new WeakMap;function Oi(e,t,o=!1){const n=o?fg:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const a=e.emits;let r={},i=!1;if(!Le(e)){const l=c=>{const u=Oi(c,t,!0);u&&(i=!0,ot(r,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!i?(ze(e)&&n.set(e,null),null):(xe(a)?a.forEach(l=>r[l]=null):ot(r,a),ze(e)&&n.set(e,r),r)}function ma(e,t){return!e||!Un(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),je(e,t[0].toLowerCase()+t.slice(1))||je(e,Ct(t))||je(e,t))}function Ek(){}function Bi(e){const{type:t,vnode:o,proxy:n,withProxy:s,propsOptions:[a],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:m,data:h,setupState:L,ctx:A,inheritAttrs:p}=e,S=ia(e);let v,w;try{if(o.shapeFlag&4){const b=s||n,_=b;v=Wt(c.call(_,b,u,m,L,h,A)),w=i}else{const b=t;v=Wt(b.length>1?b(m,{attrs:i,slots:r,emit:l}):b(m,null)),w=t.props?i:hg(i)}}catch(b){ao.length=0,vn(b,e,1),v=We(qt)}let f=v;if(w&&p!==!1){const b=Object.keys(w),{shapeFlag:_}=f;b.length&&_&7&&(a&&b.some(Gn)&&(w=mg(w,a)),f=Zo(f,w,!1,!0))}if(o.dirs&&(f=Zo(f,null,!1,!0),f.dirs=f.dirs?f.dirs.concat(o.dirs):o.dirs),o.transition){const b=la(f.type)&&ki(f)||f;bs(b,o.transition)}return v=f,ia(S),v}const hg=e=>{let t;for(const o in e)(o==="class"||o==="style"||Un(o))&&((t||(t={}))[o]=e[o]);return t},mg=(e,t)=>{const o={};for(const n in e)(!Gn(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function bg(e,t,o){const{props:n,children:s,component:a}=e,{props:r,children:i,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?ji(n,r,c):!!r;if(l&8){const u=t.dynamicProps;for(let m=0;mObject.create(Ui),Ki=e=>Object.getPrototypeOf(e)===Ui;function _g(e,t,o,n=!1){const s={},a=Gi();e.propsDefaults=Object.create(null),Hi(e,t,s,a);for(const r in e.propsOptions[0])r in s||(s[r]=void 0);o?e.props=n?s:kd(s):e.type.props?e.props=s:e.props=a,e.attrs=a}function vg(e,t,o,n){const{props:s,attrs:a,vnode:{patchFlag:r}}=e,i=Me(s),[l]=e.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let m=0;m{l=!0;const[h,L]=qi(m,t,!0);ot(r,h),L&&i.push(...L)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return ze(e)&&n.set(e,Uo),Uo;if(xe(a))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Ls=e=>xe(e)?e.map(Wt):[Wt(e)],wg=(e,t,o)=>{if(t._n)return t;const n=$t((...s)=>Ls(t(...s)),o);return n._c=!1,n},Vi=(e,t,o)=>{const n=e._ctx;for(const s in e){if(As(s))continue;const a=e[s];if(Le(a))t[s]=wg(s,a,n);else if(a!=null){const r=Ls(a);t[s]=()=>r}}},Yi=(e,t)=>{const o=Ls(t);e.slots.default=()=>o},Ji=(e,t,o)=>{for(const n in t)(o||!As(n))&&(e[n]=t[n])},xg=(e,t,o)=>{const n=e.slots=Gi();if(e.vnode.shapeFlag&32){const s=t._;s?(Ji(n,t,o),o&&Dr(n,"_",s,!0)):Vi(t,n)}else t&&Yi(e,t)},Sg=(e,t,o)=>{const{vnode:n,slots:s}=e;let a=!0,r=Ke;if(n.shapeFlag&32){const i=t._;i?o&&i===1?a=!1:Ji(s,t,o):(a=!t.$stable,Vi(t,s)),r=t}else t&&(Yi(e,t),r={default:1});if(a)for(const i in s)!As(i)&&r[i]==null&&delete s[i]},vt=$g;function Ag(e){return Lg(e)}function Lg(e,t){const o=Yn();o.__VUE__=!0;const{insert:n,remove:s,patchProp:a,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:m,nextSibling:h,setScopeId:L=Bt,insertStaticContent:A}=e,p=(y,$,C,D=null,z=null,I=null,K=void 0,H=null,d=!!$.dynamicChildren)=>{if(y===$)return;y&&!$n(y,$)&&(D=Oe(y),de(y,z,I,!0),y=null),$.patchFlag===-2&&(d=!1,$.dynamicChildren=null);const{type:g,ref:B,shapeFlag:q}=$;switch(g){case Ln:S(y,$,C,D);break;case qt:v(y,$,C,D);break;case Cs:y==null&&w($,C,D,K);break;case Re:Q(y,$,C,D,z,I,K,H,d);break;default:q&1?_(y,$,C,D,z,I,K,H,d):q&6?le(y,$,C,D,z,I,K,H,d):(q&64||q&128)&&g.process(y,$,C,D,z,I,K,H,d,ge)}B!=null&&z?xn(B,y&&y.ref,I,$||y,!$):B==null&&y&&y.ref!=null&&xn(y.ref,null,I,y,!0)},S=(y,$,C,D)=>{if(y==null)n($.el=i($.children),C,D);else{const z=$.el=y.el;$.children!==y.children&&c(z,$.children)}},v=(y,$,C,D)=>{y==null?n($.el=l($.children||""),C,D):$.el=y.el},w=(y,$,C,D)=>{[y.el,y.anchor]=A(y.children,$,C,D,y.el,y.anchor)},f=({el:y,anchor:$},C,D)=>{let z;for(;y&&y!==$;)z=h(y),n(y,C,D),y=z;n($,C,D)},b=({el:y,anchor:$})=>{let C;for(;y&&y!==$;)C=h(y),s(y),y=C;s($)},_=(y,$,C,D,z,I,K,H,d)=>{if($.type==="svg"?K="svg":$.type==="math"&&(K="mathml"),y==null)E($,C,D,z,I,K,H,d);else{const g=y.el&&y.el._isVueCE?y.el:null;try{g&&g._beginPatch(),x(y,$,z,I,K,H,d)}finally{g&&g._endPatch()}}},E=(y,$,C,D,z,I,K,H)=>{let d,g;const{props:B,shapeFlag:q,transition:ie,dirs:ee}=y;if(d=y.el=r(y.type,I,B&&B.is,B),q&8?u(d,y.children):q&16&&P(y.children,d,null,D,z,Es(y,I),K,H),ee&&Po(y,null,D,"created"),M(d,y,y.scopeId,K,D),B){for(const k in B)k!=="value"&&!pn(k)&&a(d,k,null,B[k],I,D);"value"in B&&a(d,"value",null,B.value,I),(g=B.onVnodeBeforeMount)&&Vt(g,D,y)}ee&&Po(y,null,D,"beforeMount");const U=Eg(z,ie);U&&ie.beforeEnter(d),n(d,$,C),((g=B&&B.onVnodeMounted)||U||ee)&&vt(()=>{try{g&&Vt(g,D,y),U&&ie.enter(d),ee&&Po(y,null,D,"mounted")}finally{}},z)},M=(y,$,C,D,z)=>{if(C&&L(y,C),D)for(let I=0;I{for(let g=d;g{const H=$.el=y.el;let{patchFlag:d,dynamicChildren:g,dirs:B}=$;d|=y.patchFlag&16;const q=y.props||Ke,ie=$.props||Ke;let ee;if(C&&Io(C,!1),(ee=ie.onVnodeBeforeUpdate)&&Vt(ee,C,$,y),B&&Po($,y,C,"beforeUpdate"),C&&Io(C,!0),g&&(!y.dynamicChildren||y.dynamicChildren.length!==g.length)&&(d=0,K=!1,g=null),(q.innerHTML&&ie.innerHTML==null||q.textContent&&ie.textContent==null)&&u(H,""),g?R(y.dynamicChildren,g,H,C,D,Es($,z),I):K||W(y,$,H,null,C,D,Es($,z),I,!1),d>0){if(d&16)J(H,q,ie,C,z);else if(d&2&&q.class!==ie.class&&a(H,"class",null,ie.class,z),d&4&&a(H,"style",q.style,ie.style,z),d&8){const U=$.dynamicProps;for(let k=0;k{ee&&Vt(ee,C,$,y),B&&Po($,y,C,"updated")},D)},R=(y,$,C,D,z,I,K)=>{for(let H=0;H<$.length;H++){const d=y[H],g=$[H],B=d.el&&(d.type===Re||!$n(d,g)||d.shapeFlag&198)?m(d.el):C;p(d,g,B,null,D,z,I,K,!0)}},J=(y,$,C,D,z)=>{if($!==C){if($!==Ke)for(const I in $)!pn(I)&&!(I in C)&&a(y,I,$[I],null,z,D);for(const I in C){if(pn(I))continue;const K=C[I],H=$[I];K!==H&&I!=="value"&&a(y,I,H,K,z,D)}"value"in C&&a(y,"value",$.value,C.value,z)}},Q=(y,$,C,D,z,I,K,H,d)=>{const g=$.el=y?y.el:i(""),B=$.anchor=y?y.anchor:i("");let{patchFlag:q,dynamicChildren:ie,slotScopeIds:ee}=$;ee&&(H=H?H.concat(ee):ee),y==null?(n(g,C,D),n(B,C,D),P($.children||[],C,B,z,I,K,H,d)):q>0&&q&64&&ie&&y.dynamicChildren&&y.dynamicChildren.length===ie.length?(R(y.dynamicChildren,ie,C,z,I,K,H),($.key!=null||z&&$===z.subTree)&&Xi(y,$,!0)):W(y,$,C,B,z,I,K,H,d)},le=(y,$,C,D,z,I,K,H,d)=>{$.slotScopeIds=H,y==null?$.shapeFlag&512?z.ctx.activate($,C,D,K,d):G($,C,D,z,I,K,d):N(y,$,d)},G=(y,$,C,D,z,I,K)=>{const H=y.component=Fg(y,D,z);if(da(y)&&(H.ctx.renderer=ge),Rg(H,!1,K),H.asyncDep){if(z&&z.registerDep(H,F,K),!y.el){const d=H.subTree=We(qt);v(null,d,$,C),y.placeholder=d.el}}else F(H,y,$,C,z,I,K)},N=(y,$,C)=>{const D=$.component=y.component;if(bg(y,$,C))if(D.asyncDep&&!D.asyncResolved){T(D,$,C);return}else D.next=$,D.update();else $.el=y.el,D.vnode=$},F=(y,$,C,D,z,I,K)=>{const H=()=>{if(y.isMounted){let{next:q,bu:ie,u:ee,parent:U,vnode:k}=y;{const $e=Zi(y);if($e){q&&(q.el=k.el,T(y,q,K)),$e.asyncDep.then(()=>{vt(()=>{y.isUnmounted||g()},z)});return}}let j=q,oe;Io(y,!1),q?(q.el=k.el,T(y,q,K)):q=k,ie&&Xa(ie),(oe=q.props&&q.props.onVnodeBeforeUpdate)&&Vt(oe,U,q,k),Io(y,!0);const ue=Bi(y),be=y.subTree;y.subTree=ue,p(be,ue,m(be.el),Oe(be),y,z,I),q.el=ue.el,j===null&&yg(y,ue.el),ee&&vt(ee,z),(oe=q.props&&q.props.onVnodeUpdated)&&vt(()=>Vt(oe,U,q,k),z)}else{let q;const{el:ie,props:ee}=$,{bm:U,m:k,parent:j,root:oe,type:ue}=y,be=Xo($);Io(y,!1),U&&Xa(U),!be&&(q=ee&&ee.onVnodeBeforeMount)&&Vt(q,j,$),Io(y,!0);{oe.ce&&oe.ce._hasShadowRoot()&&oe.ce._injectChildStyle(ue,y.parent?y.parent.type:void 0);const $e=y.subTree=Bi(y);p(null,$e,C,D,y,z,I),$.el=$e.el}if(k&&vt(k,z),!be&&(q=ee&&ee.onVnodeMounted)){const $e=$;vt(()=>Vt(q,j,$e),z)}($.shapeFlag&256||j&&Xo(j.vnode)&&j.vnode.shapeFlag&256)&&y.a&&vt(y.a,z),y.isMounted=!0,$=C=D=null}};y.scope.on();const d=y.effect=new qr(H);y.scope.off();const g=y.update=d.run.bind(d),B=y.job=d.runIfDirty.bind(d);B.i=y,B.id=y.uid,d.scheduler=()=>fs(B),Io(y,!0),g()},T=(y,$,C)=>{$.component=y;const D=y.vnode.props;y.vnode=$,y.next=null,vg(y,$.props,D,C),Sg(y,$.children,C),zt(),mi(y),Ut()},W=(y,$,C,D,z,I,K,H,d=!1)=>{const g=y&&y.children,B=y?y.shapeFlag:0,q=$.children,{patchFlag:ie,shapeFlag:ee}=$;if(ie>0){if(ie&128){Z(g,q,C,D,z,I,K,H,d);return}else if(ie&256){he(g,q,C,D,z,I,K,H,d);return}}ee&8?(B&16&&Ee(g,z,I),q!==g&&u(C,q)):B&16?ee&16?Z(g,q,C,D,z,I,K,H,d):Ee(g,z,I,!0):(B&8&&u(C,""),ee&16&&P(q,C,D,z,I,K,H,d))},he=(y,$,C,D,z,I,K,H,d)=>{y=y||Uo,$=$||Uo;const g=y.length,B=$.length,q=Math.min(g,B);let ie;for(ie=0;ieB?Ee(y,z,I,!0,!1,q):P($,C,D,z,I,K,H,d,q)},Z=(y,$,C,D,z,I,K,H,d)=>{let g=0;const B=$.length;let q=y.length-1,ie=B-1;for(;g<=q&&g<=ie;){const ee=y[g],U=$[g]=d?so($[g]):Wt($[g]);if($n(ee,U))p(ee,U,C,null,z,I,K,H,d);else break;g++}for(;g<=q&&g<=ie;){const ee=y[q],U=$[ie]=d?so($[ie]):Wt($[ie]);if($n(ee,U))p(ee,U,C,null,z,I,K,H,d);else break;q--,ie--}if(g>q){if(g<=ie){const ee=ie+1,U=eeie)for(;g<=q;)de(y[g],z,I,!0),g++;else{const ee=g,U=g,k=new Map;for(g=U;g<=ie;g++){const Fe=$[g]=d?so($[g]):Wt($[g]);Fe.key!=null&&k.set(Fe.key,g)}let j,oe=0;const ue=ie-U+1;let be=!1,$e=0;const we=new Array(ue);for(g=0;g=ue){de(Fe,z,I,!0);continue}let He;if(Fe.key!=null)He=k.get(Fe.key);else for(j=U;j<=ie;j++)if(we[j-U]===0&&$n(Fe,$[j])){He=j;break}He===void 0?de(Fe,z,I,!0):(we[He-U]=g+1,He>=$e?$e=He:be=!0,p(Fe,$[He],C,null,z,I,K,H,d),oe++)}const et=be?Cg(we):Uo;for(j=et.length-1,g=ue-1;g>=0;g--){const Fe=U+g,He=$[Fe],jo=$[Fe+1],X=Fe+1{const{el:I,type:K,transition:H,children:d,shapeFlag:g}=y;if(g&6){re(y.component.subTree,$,C,D);return}if(g&128){y.suspense.move($,C,D);return}if(g&64){K.move(y,$,C,ge);return}if(K===Re){n(I,$,C);for(let q=0;qH.enter(I),z));else{const{leave:q,delayLeave:ie,afterLeave:ee}=H,U=()=>{y.ctx.isUnmounted?s(I):n(I,$,C)},k=()=>{const j=I._isLeaving||!!I[ms];I._isLeaving&&I[ms](!0),H.persisted&&!j?U():q(I,()=>{U(),ee&&ee()})};ie?ie(I,U,k):k()}else n(I,$,C)},de=(y,$,C,D=!1,z=!1)=>{const{type:I,props:K,ref:H,children:d,dynamicChildren:g,shapeFlag:B,patchFlag:q,dirs:ie,cacheIndex:ee,memo:U}=y;if(q===-2&&(z=!1),H!=null&&(zt(),xn(H,null,C,y,!0),Ut()),ee!=null&&($.renderCache[ee]=void 0),B&256){$.ctx.deactivate(y);return}const k=B&1&&ie,j=!Xo(y);let oe;if(j&&(oe=K&&K.onVnodeBeforeUnmount)&&Vt(oe,$,y),B&6)ye(y.component,C,D);else{if(B&128){y.suspense.unmount(C,D);return}k&&Po(y,null,$,"beforeUnmount"),B&64?y.type.remove(y,$,C,ge,D):g&&!g.hasOnce&&(I!==Re||q>0&&q&64)?Ee(g,$,C,!1,!0):(I===Re&&q&384||!z&&B&16)&&Ee(d,$,C),D&&Ae(y)}const ue=U!=null&&ee==null;(j&&(oe=K&&K.onVnodeUnmounted)||k||ue)&&vt(()=>{oe&&Vt(oe,$,y),k&&Po(y,null,$,"unmounted"),ue&&(y.el=null)},C)},Ae=y=>{const{type:$,el:C,anchor:D,transition:z}=y;if($===Re){Ie(C,D);return}if($===Cs){b(y);return}const I=()=>{s(C),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(y.shapeFlag&1&&z&&!z.persisted){const{leave:K,delayLeave:H}=z,d=()=>K(C,I);H?H(y.el,I,d):d()}else I()},Ie=(y,$)=>{let C;for(;y!==$;)C=h(y),s(y),y=C;s($)},ye=(y,$,C)=>{const{bum:D,scope:z,job:I,subTree:K,um:H,m:d,a:g}=y;Qi(d),Qi(g),D&&Xa(D),z.stop(),I&&(I.flags|=8,de(K,y,$,C)),H&&vt(H,$),vt(()=>{y.isUnmounted=!0},$)},Ee=(y,$,C,D=!1,z=!1,I=0)=>{for(let K=I;K{if(y.shapeFlag&6)return Oe(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const $=h(y.anchor||y.el),C=$&&$[Kd];return C?h(C):$};let ne=!1;const ae=(y,$,C)=>{let D;y==null?$._vnode&&(de($._vnode,null,null,!0),D=$._vnode.component):p($._vnode||null,y,$,null,null,null,C),$._vnode=y,ne||(ne=!0,mi(D),bi(),ne=!1)},ge={p,um:de,m:re,r:Ae,mt:G,mc:P,pc:W,pbc:R,n:Oe,o:e};return{render:ae,hydrate:void 0,createApp:dg(ae)}}function Es({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 Io({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Eg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xi(e,t,o=!1){const n=e.children,s=t.children;if(xe(n)&&xe(s))for(let a=0;a>1,e[o[i]]0&&(t[n]=o[a-1]),o[a]=n)}}for(a=o.length,r=o[a-1];a-- >0;)o[a]=r,r=t[r];return o}function Zi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Zi(t)}function Qi(e){if(e)for(let t=0;te.__isSuspense;function $g(e,t){t&&t.pendingBranch?xe(e)?t.effects.push(...e):t.effects.push(e):Dd(e)}const Re=Symbol.for("v-fgt"),Ln=Symbol.for("v-txt"),qt=Symbol.for("v-cmt"),Cs=Symbol.for("v-stc"),ao=[];let Lt=null;function V(e=!1){ao.push(Lt=e?null:[])}function $s(){ao.pop(),Lt=ao[ao.length-1]||null}let En=1;function ba(e,t=!1){En+=e,e<0&&Lt&&t&&(Lt.hasOnce=!0)}function ol(e){return e.dynamicChildren=En>0?Lt||Uo:null,$s(),En>0&&Lt&&Lt.push(e),e}function te(e,t,o,n,s,a){return ol(O(e,t,o,n,s,a,!0))}function Xe(e,t,o,n,s){return ol(We(e,t,o,n,s,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function $n(e,t){return e.type===t.type&&e.key===t.key}const nl=({key:e})=>e??null,ya=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||Je(e)||Le(e)?{i:gt,r:e,k:t,f:!!o}:e:null);function O(e,t=null,o=null,n=0,s=null,a=e===Re?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nl(t),ref:t&&ya(t),scopeId:_i,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:gt};return i?(_a(l,o),a&128&&e.normalize(l)):o&&(l.shapeFlag|=Ye(o)?8:16),En>0&&!r&&Lt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Lt.push(l),l}const We=Tg;function Tg(e,t=null,o=null,n=0,s=null,a=!1){if((!e||e===Ei)&&(e=qt),Cn(e)){const i=Zo(e,t,!0);return o&&_a(i,o),En>0&&!a&&Lt&&(i.shapeFlag&6?Lt[Lt.indexOf(e)]=i:Lt.push(i)),i.patchFlag=-2,i}if(Ug(e)&&(e=e.__vccOpts),t){t=Pg(t);let{class:i,style:l}=t;i&&!Ye(i)&&(t.class=Pe(i)),ze(l)&&(na(l)&&!xe(l)&&(l=ot({},l)),t.style=st(l))}const r=Ye(e)?1:tl(e)?128:la(e)?64:ze(e)?4:Le(e)?2:0;return O(e,t,o,n,s,r,a,!0)}function Pg(e){return e?na(e)||Ki(e)?ot({},e):e:null}function Zo(e,t,o=!1,n=!1){const{props:s,ref:a,patchFlag:r,children:i,transition:l}=e,c=t?Ng(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&nl(c),ref:t&&t.ref?o&&a?xe(a)?a.concat(ya(t)):[a,ya(t)]:ya(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Re?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zo(e.ssContent),ssFallback:e.ssFallback&&Zo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&bs(u,l.clone(u)),u}function ut(e=" ",t=0){return We(Ln,null,e,t)}function ve(e="",t=!1){return t?(V(),Xe(qt,null,e)):We(qt,null,e)}function Wt(e){return e==null||typeof e=="boolean"?We(qt):xe(e)?We(Re,null,e.slice()):Cn(e)?so(e):We(Ln,null,String(e))}function so(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Zo(e)}function _a(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(xe(t))o=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),_a(e,s()),s._c&&(s._d=!0));return}else{o=32;const s=t._;!s&&!Ki(t)?t._ctx=gt:s===3&>&&(gt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Le(t)){if(n&65){_a(e,{default:t});return}t={default:t,_ctx:gt},o=32}else t=String(t),n&64?(o=16,t=[ut(t)]):o=8;e.children=t,e.shapeFlag|=o}function Ng(...e){const t={};for(let o=0;opt||gt;let va,Tn;{const e=Yn(),t=(o,n)=>{let s;return(s=e[o])||(s=e[o]=[]),s.push(n),a=>{s.length>1?s.forEach(r=>r(a)):s[0](a)}};va=t("__VUE_INSTANCE_SETTERS__",o=>pt=o),Tn=t("__VUE_SSR_SETTERS__",o=>Qo=o)}const Pn=e=>{const t=pt;return va(e),e.scope.on(),()=>{e.scope.off(),va(t)}},al=()=>{pt&&pt.scope.off(),va(null)};function sl(e){return e.vnode.shapeFlag&4}let Qo=!1;function Rg(e,t=!1,o=!1){t&&Tn(t);const{props:n,children:s}=e.vnode,a=sl(e);_g(e,n,a,t),xg(e,s,o||t);const r=a?Dg(e,t):void 0;return t&&Tn(!1),r}function Dg(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ag);const{setup:n}=o;if(n){zt();const s=e.setupContext=n.length>1?Bg(e):null,a=Pn(e),r=Wo(n,e,0,[e.props,s]),i=Fr(r);if(Ut(),a(),(i||e.sp)&&!Xo(e)&&ys(e),i){if(r.then(al,al),t)return r.then(l=>{Tn(!0);try{rl(e,l,t)}finally{Tn(!1)}}).catch(l=>{vn(l,e,0)});e.asyncDep=r}else rl(e,r)}else il(e)}function rl(e,t,o){Le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ze(t)&&(e.setupState=di(t)),il(e)}function il(e,t,o){const n=e.type;e.render||(e.render=n.render||Bt);{const s=Pn(e);zt();try{sg(e)}finally{Ut(),s()}}}const Og={get(e,t){return ht(e,"get",""),e[t]}};function Bg(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Og),slots:e.slots,emit:e.emit,expose:t}}function ka(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(di(Ho(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Sn)return Sn[o](e)},has(t,o){return o in t||o in Sn}})):e.proxy}const jg=/(?:^|[-_])\w/g,zg=e=>e.replace(jg,t=>t.toUpperCase()).replace(/[-_]/g,"");function ll(e,t=!0){return Le(e)?e.displayName||e.name:e.name||t&&e.__name}function cl(e,t,o=!1){let n=ll(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e){const s=a=>{for(const r in a)if(a[r]===t)return r};n=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return n?zg(n):o?"App":"Anonymous"}function Ug(e){return Le(e)&&"__vccOpts"in e}const Y=(e,t)=>Cd(e,t,Qo);function ul(e,t,o){try{ba(-1);const n=arguments.length;return n===2?ze(t)&&!xe(t)?Cn(t)?We(e,null,[t]):We(e,t):We(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Cn(o)&&(o=[o]),We(e,t,o))}finally{ba(1)}}const Gg="3.5.42";/** +`,...Pd(s)),console.warn(...a)}Ut(),gs=!1}function Td(){let e=yn[yn.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 Pd(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` +`],...Nd(o))}),t}function Nd({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${ll(e.component,e.type,n)}`,a=">"+o;return e.props?[s,...Id(e.props),a]:[s+a]}function Id(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...gi(n,e[n]))}),o.length>3&&t.push(" ..."),t}function gi(e,t,o){return Ye(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Je(t)?(t=gi(e,Me(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):Le(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Me(t),o?t:[`${e}=`,t])}function qo(e,t,o,n){try{return n?e(...n):e()}catch(s){_n(s,t,o)}}function Mt(e,t,o,n){if(Le(e)){const s=qo(e,t,o,n);return s&&Mr(s)&&s.catch(a=>{_n(a,t,o)}),s}if(xe(e)){const s=[];for(let a=0;a>>1,s=mt[n],a=vn(s);a=vn(o)?mt.push(e):mt.splice(Fd(t),0,e),e.flags|=1,fi()}}function fi(){sa||(sa=pi.then(bi))}function Rd(e){if(!xe(e))mo&&e.id===-1?mo.splice(Vo+1,0,e):e.flags&1||(Wo.push(e),e.flags|=1);else for(let t=0;tvn(o)-vn(n));if(Wo.length=0,mo){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function bi(e){try{for(Kt=0;Kt{n._d&&ma(-1);const a=ra(t),r=ao.length;let i;try{i=e(...s)}finally{for(let l=ao.length;l>r;l--)Cs();ra(a),n._d&&ma(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Dd(e,t){if(gt===null)return e;const o=va(gt),n=e.dirs||(e.dirs=[]);for(let s=0;s1)return o&&Le(t)?t.call(n&&n.proxy):t}}function Od(){return!!(ro()||No)}const Bd=Symbol.for("v-scx"),jd=()=>Te(Bd);function zd(e,t){return fs(e,null,t)}function Ke(e,t,o){return fs(e,t,o)}function fs(e,t,o=Ge){const{immediate:n,deep:s,flush:a,once:r}=o,i=ot({},o),l=t&&n||!t&&a!=="post";let c;if(Zo){if(a==="sync"){const L=jd();c=L.__watcherHandles||(L.__watcherHandles=[])}else if(!l){const L=()=>{};return L.stop=Bt,L.resume=Bt,L.pause=Bt,L}}const u=pt;i.call=(L,A,f)=>Mt(L,u,A,f);let m=!1;a==="post"?i.scheduler=L=>{vt(L,u&&u.suspense)}:a!=="sync"&&(m=!0,i.scheduler=(L,A)=>{A?L():ps(L)}),i.augmentJob=L=>{t&&(L.flags|=4),m&&(L.flags|=2,u&&(L.id=u.uid,L.i=u))};const h=$d(e,t,i);return Zo&&(c?c.push(h):l&&h()),h}function Ud(e,t,o){const n=this.proxy,s=Ye(e)?e.includes(".")?_i(n,e):()=>n[e]:e.bind(n,n);let a;Le(t)?a=t:(a=t.handler,o=t);const r=Tn(this),i=fs(s,a.bind(n),o);return r(),i}function _i(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;se.__isTeleport,hs=Symbol("_leaveCb");function Kd(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==qt){t=o;break}}return t}function vi(e){if(!ua(e))return ia(e.type)&&e.children?Kd(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&&Le(o.default))return o.default()}}function ms(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;ms(ia(o.type)&&vi(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 kn(e,t){return Le(e)?ot({name:e.name},t,{setup:e}):e}function bs(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ki(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const la=new WeakMap;function wn(e,t,o,n,s=!1){if(xe(e)){e.forEach((f,S)=>wn(f,t&&(xe(t)?t[S]:t),o,n,s));return}if(Jo(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&wn(e,t,o,n.component.subTree);return}const a=n.shapeFlag&4?va(n.component):n.el,r=s?null:a,{i,r:l}=e,c=t&&t.r,u=i.refs===Ge?i.refs={}:i.refs,m=i.setupState,h=Me(m),L=m===Ge?Nr:f=>ki(u,f)?!1:je(h,f),A=(f,S)=>!(S&&ki(u,S));if(c!=null&&c!==l){if(wi(t),Ye(c))u[c]=null,L(c)&&(m[c]=null);else if(Je(c)){const f=t;A(c,f.k)&&(c.value=null),f.k&&(u[f.k]=null)}}if(Le(l))qo(l,i,12,[r,u]);else{const f=Ye(l),S=Je(l);if(f||S){const v=()=>{if(e.f){const w=f?L(l)?m[l]:u[l]:A()||!e.k?l.value:u[e.k];if(s)xe(w)&&Va(w,a);else if(xe(w))w.includes(a)||w.push(a);else if(f)u[l]=[a],L(l)&&(m[l]=u[l]);else{const p=[a];A(l,e.k)&&(l.value=p),e.k&&(u[e.k]=p)}}else f?(u[l]=r,L(l)&&(m[l]=r)):S&&(A(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const w=()=>{v(),la.delete(e)};w.id=-1,la.set(e,w),vt(w,o)}else wi(e),v()}}}function wi(e){const t=la.get(e);t&&(t.flags|=8,la.delete(e))}const xi=e=>e.nodeType===8;Vn().requestIdleCallback,Vn().cancelIdleCallback;function Hd(e,t){if(xi(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(xi(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const Jo=e=>!!e.type.__asyncLoader;function ys(e){Le(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:s=200,hydrate:a,timeout:r,suspensible:i=!0,onError:l}=e;let c=null,u,m=0;const h=()=>(m++,c=null,L()),L=()=>{let A;return c||(A=c=t().catch(f=>{if(f=f instanceof Error?f:new Error(String(f)),l)return new Promise((S,v)=>{l(f,()=>S(h()),()=>v(f),m+1)});throw f}).then(f=>A!==c&&c?c:(f&&(f.__esModule||f[Symbol.toStringTag]==="Module")&&(f=f.default),u=f,f)))};return kn({name:"AsyncComponentWrapper",__asyncLoader:L,__asyncHydrate(A,f,S){const v=A.isConnected;let w=!1;(f.bu||(f.bu=[])).push(()=>w=!0);const p=()=>{w||!A.parentNode||v&&!A.isConnected||S()},b=a?()=>{const _=a(p,E=>Hd(A,E));_&&(f.bum||(f.bum=[])).push(_)}:p;u?b():L().then(()=>!f.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const A=pt;if(bs(A),u)return()=>ca(u,A);const f=_=>{c=null,_n(_,A,13,!n)};if(i&&A.suspense||Zo)return L().then(_=>()=>ca(_,A)).catch(_=>(f(_),()=>n?We(n,{error:_}):null));const S=me(!1),v=me(),w=me(!!s);let p,b;return ga(()=>{p!=null&&clearTimeout(p),b!=null&&clearTimeout(b)}),s&&(b=setTimeout(()=>{A.isUnmounted||(w.value=!1)},s)),r!=null&&(p=setTimeout(()=>{if(!A.isUnmounted&&!S.value&&!v.value){const _=new Error(`Async component timed out after ${r}ms.`);f(_),v.value=_}},r)),L().then(()=>{A.isUnmounted||(S.value=!0,A.parent&&ua(A.parent.vnode)&&A.parent.update())}).catch(_=>{if(A.isUnmounted){c=null;return}f(_),v.value=_}),()=>{if(S.value&&u)return ca(u,A);if(v.value&&n)return We(n,{error:v.value});if(o&&!w.value)return ca(o,A)}}})}function ca(e,t){const{ref:o,props:n,children:s,ce:a}=t.vnode,r=We(e,n,s);return r.ref=o,r.ce=a,delete t.vnode.ce,r}const ua=e=>e.type.__isKeepAlive;function qd(e,t){Si(e,"a",t)}function Wd(e,t){Si(e,"da",t)}function Si(e,t,o=pt){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(da(t,n,o),o){let s=o.parent;for(;s&&s.parent;)ua(s.parent.vnode)&&Vd(n,t,o,s),s=s.parent}}function Vd(e,t,o,n){const s=da(t,e,n,!0);ga(()=>{Va(n[t],s)},o)}function da(e,t,o=pt,n=!1){if(o){const s=o[e]||(o[e]=[]),a=t.__weh||(t.__weh=(...r)=>{zt();const i=Tn(o),l=Mt(t,o,e,r);return i(),Ut(),l});return n?s.unshift(a):s.push(a),a}}const no=e=>(t,o=pt)=>{(!Zo||e==="sp")&&da(e,(...n)=>t(...n),o)},Ai=no("bm"),Ht=no("m"),Yd=no("bu"),Jd=no("u"),bo=no("bum"),ga=no("um"),Xd=no("sp"),Zd=no("rtg"),Qd=no("rtc");function eg(e,t=pt){da("ec",e,t)}const tg="components",Li=Symbol.for("v-ndc");function Ei(e){return Ye(e)?og(tg,e,!1)||e:e||Li}function og(e,t,o=!0,n=!1){const s=gt||pt;if(s){const a=s.type;{const i=il(a,!1);if(i&&(i===t||i===ct(t)||i===Wn(ct(t))))return a}const r=Ci(s[e]||a[e],t)||Ci(s.appContext[e],t);return!r&&n?a:r}}function Ci(e,t){return e&&(e[t]||e[ct(t)]||e[Wn(ct(t))])}function At(e,t,o,n){let s;const a=o,r=xe(e);if(r||Ye(e)){const i=r&&eo(e);let l=!1,c=!1;i&&(l=!St(e),c=to(e),e=Xn(e)),s=new Array(e.length);for(let u=0,m=e.length;ut(i,l,void 0,a));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),V(),Xe(Re,null,[We("slot",c,n)],u?-2:64)}let r=e[t];r&&r._c&&(r._d=!1);const i=ao.length;V();let l;try{const c=r&&$i(r(o)),u=o.key||a||c&&c.key;l=Xe(Re,{key:(u&&!xt(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=ao.length;u>i;u--)Cs();throw c}finally{r&&r._c&&(r._d=!0)}return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function $i(e){return e.some(t=>En(t)?!(t.type===qt||t.type===Re&&!$i(t.children)):!0)?e:null}const _s=e=>e?al(e)?va(e):_s(e.parent):null,xn=ot(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>_s(e.parent),$root:e=>_s(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ii(e),$forceUpdate:e=>e.f||(e.f=()=>{ps(e.update)}),$nextTick:e=>e.n||(e.n=Yo.bind(e.proxy)),$watch:e=>Ud.bind(e)}),vs=(e,t)=>e!==Ge&&!e.__isScriptSetup&&je(e,t),ng={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:s,props:a,accessCache:r,type:i,appContext:l}=e;if(t[0]!=="$"){const h=r[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return s[t];case 4:return o[t];case 3:return a[t]}else{if(vs(n,t))return r[t]=1,n[t];if(s!==Ge&&je(s,t))return r[t]=2,s[t];if(je(a,t))return r[t]=3,a[t];if(o!==Ge&&je(o,t))return r[t]=4,o[t];ks&&(r[t]=0)}}const c=xn[t];let u,m;if(c)return t==="$attrs"&&ht(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==Ge&&je(o,t))return r[t]=4,o[t];if(m=l.config.globalProperties,je(m,t))return m[t]},set({_:e},t,o){const{data:n,setupState:s,ctx:a}=e;return vs(s,t)?(s[t]=o,!0):n!==Ge&&je(n,t)?(n[t]=o,!0):je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:s,props:a,type:r}},i){let l;return!!(o[i]||e!==Ge&&i[0]!=="$"&&je(e,i)||vs(t,i)||je(a,i)||je(n,i)||je(xn,i)||je(s.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:je(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function Ti(e){return xe(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let ks=!0;function ag(e){const t=Ii(e),o=e.proxy,n=e.ctx;ks=!1,t.beforeCreate&&Pi(t.beforeCreate,e,"bc");const{data:s,computed:a,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:m,mounted:h,beforeUpdate:L,updated:A,activated:f,deactivated:S,beforeDestroy:v,beforeUnmount:w,destroyed:p,unmounted:b,render:_,renderTracked:E,renderTriggered:M,errorCaptured:P,serverPrefetch:x,expose:R,inheritAttrs:J,components:Q,directives:le,filters:G}=t;if(c&&sg(c,n,null),r)for(const T in r){const W=r[T];Le(W)&&(n[T]=W.bind(o))}if(s){const T=s.call(o,o);ze(T)&&(e.data=Go(T))}if(ks=!0,a)for(const T in a){const W=a[T],he=Le(W)?W.bind(o,o):Le(W.get)?W.get.bind(o,o):Bt,X=!Le(W)&&Le(W.set)?W.set.bind(o):Bt,re=Y({get:he,set:X});Object.defineProperty(n,T,{enumerable:!0,configurable:!0,get:()=>re.value,set:de=>re.value=de})}if(i)for(const T in i)Ni(i[T],n,o,T);if(l){const T=Le(l)?l.call(o):l;Reflect.ownKeys(T).forEach(W=>{bt(W,T[W])})}u&&Pi(u,e,"c");function F(T,W){xe(W)?W.forEach(he=>T(he.bind(o))):W&&T(W.bind(o))}if(F(Ai,m),F(Ht,h),F(Yd,L),F(Jd,A),F(qd,f),F(Wd,S),F(eg,P),F(Qd,E),F(Zd,M),F(bo,w),F(ga,b),F(Xd,x),xe(R))if(R.length){const T=e.exposed||(e.exposed={});R.forEach(W=>{Object.defineProperty(T,W,{get:()=>o[W],set:he=>o[W]=he,enumerable:!0})})}else e.exposed||(e.exposed={});_&&e.render===Bt&&(e.render=_),J!=null&&(e.inheritAttrs=J),Q&&(e.components=Q),le&&(e.directives=le),x&&bs(e)}function sg(e,t,o=Bt){xe(e)&&(e=ws(e));for(const n in e){const s=e[n];let a;ze(s)?"default"in s?a=Te(s.from||n,s.default,!0):a=Te(s.from||n):a=Te(s),Je(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:r=>a.value=r}):t[n]=a}}function Pi(e,t,o){Mt(xe(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Ni(e,t,o,n){let s=n.includes(".")?_i(o,n):()=>o[n];if(Ye(e)){const a=t[e];Le(a)&&Ke(s,a)}else if(Le(e))Ke(s,e.bind(o));else if(ze(e))if(xe(e))e.forEach(a=>Ni(a,t,o,n));else{const a=Le(e.handler)?e.handler.bind(o):t[e.handler];Le(a)&&Ke(s,a,e)}}function Ii(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:s,optionsCache:a,config:{optionMergeStrategies:r}}=e.appContext,i=a.get(t);let l;return i?l=i:!s.length&&!o&&!n?l=t:(l={},s.length&&s.forEach(c=>fa(l,c,r,!0)),fa(l,t,r)),ze(t)&&a.set(t,l),l}function fa(e,t,o,n=!1){const{mixins:s,extends:a}=t;a&&fa(e,a,o,!0),s&&s.forEach(r=>fa(e,r,o,!0));for(const r in t)if(!(n&&r==="expose")){const i=rg[r]||o&&o[r];e[r]=i?i(e[r],t[r]):t[r]}return e}const rg={data:Mi,props:Fi,emits:Fi,methods:Sn,computed:Sn,beforeCreate:yt,created:yt,beforeMount:yt,mounted:yt,beforeUpdate:yt,updated:yt,beforeDestroy:yt,beforeUnmount:yt,destroyed:yt,unmounted:yt,activated:yt,deactivated:yt,errorCaptured:yt,serverPrefetch:yt,components:Sn,directives:Sn,watch:lg,provide:Mi,inject:ig};function Mi(e,t){return t?e?function(){return ot(Le(e)?e.call(this,this):e,Le(t)?t.call(this,this):t)}:t:e}function ig(e,t){return Sn(ws(e),ws(t))}function ws(e){if(xe(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ct(t)}Modifiers`]||e[`${Ct(t)}Modifiers`];function gg(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||Ge;let s=o;const a=t.startsWith("update:"),r=a&&dg(n,t.slice(7));r&&(r.trim&&(s=o.map(u=>Ye(u)?u.trim():u)),r.number&&(s=s.map(Vu)));let i,l=n[i=Ya(t)]||n[i=Ya(ct(t))];!l&&a&&(l=n[i=Ya(Ct(t))]),l&&Mt(l,e,6,s);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Mt(c,e,6,s)}}const pg=new WeakMap;function Di(e,t,o=!1){const n=o?pg:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const a=e.emits;let r={},i=!1;if(!Le(e)){const l=c=>{const u=Di(c,t,!0);u&&(i=!0,ot(r,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!i?(ze(e)&&n.set(e,null),null):(xe(a)?a.forEach(l=>r[l]=null):ot(r,a),ze(e)&&n.set(e,r),r)}function ha(e,t){return!e||!zn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),je(e,t[0].toLowerCase()+t.slice(1))||je(e,Ct(t))||je(e,t))}function Lk(){}function Oi(e){const{type:t,vnode:o,proxy:n,withProxy:s,propsOptions:[a],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:m,data:h,setupState:L,ctx:A,inheritAttrs:f}=e,S=ra(e);let v,w;try{if(o.shapeFlag&4){const b=s||n,_=b;v=Wt(c.call(_,b,u,m,L,h,A)),w=i}else{const b=t;v=Wt(b.length>1?b(m,{attrs:i,slots:r,emit:l}):b(m,null)),w=t.props?i:fg(i)}}catch(b){ao.length=0,_n(b,e,1),v=We(qt)}let p=v;if(w&&f!==!1){const b=Object.keys(w),{shapeFlag:_}=p;b.length&&_&7&&(a&&b.some(Un)&&(w=hg(w,a)),p=Xo(p,w,!1,!0))}if(o.dirs&&(p=Xo(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(o.dirs):o.dirs),o.transition){const b=ia(p.type)&&vi(p)||p;ms(b,o.transition)}return v=p,ra(S),v}const fg=e=>{let t;for(const o in e)(o==="class"||o==="style"||zn(o))&&((t||(t={}))[o]=e[o]);return t},hg=(e,t)=>{const o={};for(const n in e)(!Un(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function mg(e,t,o){const{props:n,children:s,component:a}=e,{props:r,children:i,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Bi(n,r,c):!!r;if(l&8){const u=t.dynamicProps;for(let m=0;mObject.create(zi),Gi=e=>Object.getPrototypeOf(e)===zi;function yg(e,t,o,n=!1){const s={},a=Ui();e.propsDefaults=Object.create(null),Ki(e,t,s,a);for(const r in e.propsOptions[0])r in s||(s[r]=void 0);o?e.props=n?s:vd(s):e.type.props?e.props=s:e.props=a,e.attrs=a}function _g(e,t,o,n){const{props:s,attrs:a,vnode:{patchFlag:r}}=e,i=Me(s),[l]=e.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let m=0;m{l=!0;const[h,L]=Hi(m,t,!0);ot(r,h),L&&i.push(...L)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return ze(e)&&n.set(e,zo),zo;if(xe(a))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",As=e=>xe(e)?e.map(Wt):[Wt(e)],kg=(e,t,o)=>{if(t._n)return t;const n=$t((...s)=>As(t(...s)),o);return n._c=!1,n},Wi=(e,t,o)=>{const n=e._ctx;for(const s in e){if(Ss(s))continue;const a=e[s];if(Le(a))t[s]=kg(s,a,n);else if(a!=null){const r=As(a);t[s]=()=>r}}},Vi=(e,t)=>{const o=As(t);e.slots.default=()=>o},Yi=(e,t,o)=>{for(const n in t)(o||!Ss(n))&&(e[n]=t[n])},wg=(e,t,o)=>{const n=e.slots=Ui();if(e.vnode.shapeFlag&32){const s=t._;s?(Yi(n,t,o),o&&Rr(n,"_",s,!0)):Wi(t,n)}else t&&Vi(e,t)},xg=(e,t,o)=>{const{vnode:n,slots:s}=e;let a=!0,r=Ge;if(n.shapeFlag&32){const i=t._;i?o&&i===1?a=!1:Yi(s,t,o):(a=!t.$stable,Wi(t,s)),r=t}else t&&(Vi(e,t),r={default:1});if(a)for(const i in s)!Ss(i)&&r[i]==null&&delete s[i]},vt=Cg;function Sg(e){return Ag(e)}function Ag(e,t){const o=Vn();o.__VUE__=!0;const{insert:n,remove:s,patchProp:a,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:m,nextSibling:h,setScopeId:L=Bt,insertStaticContent:A}=e,f=(y,$,C,D=null,z=null,I=null,K=void 0,H=null,d=!!$.dynamicChildren)=>{if(y===$)return;y&&!Cn(y,$)&&(D=Oe(y),de(y,z,I,!0),y=null),$.patchFlag===-2&&(d=!1,$.dynamicChildren=null);const{type:g,ref:B,shapeFlag:q}=$;switch(g){case An:S(y,$,C,D);break;case qt:v(y,$,C,D);break;case Es:y==null&&w($,C,D,K);break;case Re:Q(y,$,C,D,z,I,K,H,d);break;default:q&1?_(y,$,C,D,z,I,K,H,d):q&6?le(y,$,C,D,z,I,K,H,d):(q&64||q&128)&&g.process(y,$,C,D,z,I,K,H,d,ge)}B!=null&&z?wn(B,y&&y.ref,I,$||y,!$):B==null&&y&&y.ref!=null&&wn(y.ref,null,I,y,!0)},S=(y,$,C,D)=>{if(y==null)n($.el=i($.children),C,D);else{const z=$.el=y.el;$.children!==y.children&&c(z,$.children)}},v=(y,$,C,D)=>{y==null?n($.el=l($.children||""),C,D):$.el=y.el},w=(y,$,C,D)=>{[y.el,y.anchor]=A(y.children,$,C,D,y.el,y.anchor)},p=({el:y,anchor:$},C,D)=>{let z;for(;y&&y!==$;)z=h(y),n(y,C,D),y=z;n($,C,D)},b=({el:y,anchor:$})=>{let C;for(;y&&y!==$;)C=h(y),s(y),y=C;s($)},_=(y,$,C,D,z,I,K,H,d)=>{if($.type==="svg"?K="svg":$.type==="math"&&(K="mathml"),y==null)E($,C,D,z,I,K,H,d);else{const g=y.el&&y.el._isVueCE?y.el:null;try{g&&g._beginPatch(),x(y,$,z,I,K,H,d)}finally{g&&g._endPatch()}}},E=(y,$,C,D,z,I,K,H)=>{let d,g;const{props:B,shapeFlag:q,transition:ie,dirs:ee}=y;if(d=y.el=r(y.type,I,B&&B.is,B),q&8?u(d,y.children):q&16&&P(y.children,d,null,D,z,Ls(y,I),K,H),ee&&Po(y,null,D,"created"),M(d,y,y.scopeId,K,D),B){for(const k in B)k!=="value"&&!gn(k)&&a(d,k,null,B[k],I,D);"value"in B&&a(d,"value",null,B.value,I),(g=B.onVnodeBeforeMount)&&Vt(g,D,y)}ee&&Po(y,null,D,"beforeMount");const U=Lg(z,ie);U&&ie.beforeEnter(d),n(d,$,C),((g=B&&B.onVnodeMounted)||U||ee)&&vt(()=>{try{g&&Vt(g,D,y),U&&ie.enter(d),ee&&Po(y,null,D,"mounted")}finally{}},z)},M=(y,$,C,D,z)=>{if(C&&L(y,C),D)for(let I=0;I{for(let g=d;g{const H=$.el=y.el;let{patchFlag:d,dynamicChildren:g,dirs:B}=$;d|=y.patchFlag&16;const q=y.props||Ge,ie=$.props||Ge;let ee;if(C&&Io(C,!1),(ee=ie.onVnodeBeforeUpdate)&&Vt(ee,C,$,y),B&&Po($,y,C,"beforeUpdate"),C&&Io(C,!0),g&&(!y.dynamicChildren||y.dynamicChildren.length!==g.length)&&(d=0,K=!1,g=null),(q.innerHTML&&ie.innerHTML==null||q.textContent&&ie.textContent==null)&&u(H,""),g?R(y.dynamicChildren,g,H,C,D,Ls($,z),I):K||W(y,$,H,null,C,D,Ls($,z),I,!1),d>0){if(d&16)J(H,q,ie,C,z);else if(d&2&&q.class!==ie.class&&a(H,"class",null,ie.class,z),d&4&&a(H,"style",q.style,ie.style,z),d&8){const U=$.dynamicProps;for(let k=0;k{ee&&Vt(ee,C,$,y),B&&Po($,y,C,"updated")},D)},R=(y,$,C,D,z,I,K)=>{for(let H=0;H<$.length;H++){const d=y[H],g=$[H],B=d.el&&(d.type===Re||!Cn(d,g)||d.shapeFlag&198)?m(d.el):C;f(d,g,B,null,D,z,I,K,!0)}},J=(y,$,C,D,z)=>{if($!==C){if($!==Ge)for(const I in $)!gn(I)&&!(I in C)&&a(y,I,$[I],null,z,D);for(const I in C){if(gn(I))continue;const K=C[I],H=$[I];K!==H&&I!=="value"&&a(y,I,H,K,z,D)}"value"in C&&a(y,"value",$.value,C.value,z)}},Q=(y,$,C,D,z,I,K,H,d)=>{const g=$.el=y?y.el:i(""),B=$.anchor=y?y.anchor:i("");let{patchFlag:q,dynamicChildren:ie,slotScopeIds:ee}=$;ee&&(H=H?H.concat(ee):ee),y==null?(n(g,C,D),n(B,C,D),P($.children||[],C,B,z,I,K,H,d)):q>0&&q&64&&ie&&y.dynamicChildren&&y.dynamicChildren.length===ie.length?(R(y.dynamicChildren,ie,C,z,I,K,H),($.key!=null||z&&$===z.subTree)&&Ji(y,$,!0)):W(y,$,C,B,z,I,K,H,d)},le=(y,$,C,D,z,I,K,H,d)=>{$.slotScopeIds=H,y==null?$.shapeFlag&512?z.ctx.activate($,C,D,K,d):G($,C,D,z,I,K,d):N(y,$,d)},G=(y,$,C,D,z,I,K)=>{const H=y.component=Mg(y,D,z);if(ua(y)&&(H.ctx.renderer=ge),Fg(H,!1,K),H.asyncDep){if(z&&z.registerDep(H,F,K),!y.el){const d=H.subTree=We(qt);v(null,d,$,C),y.placeholder=d.el}}else F(H,y,$,C,z,I,K)},N=(y,$,C)=>{const D=$.component=y.component;if(mg(y,$,C))if(D.asyncDep&&!D.asyncResolved){T(D,$,C);return}else D.next=$,D.update();else $.el=y.el,D.vnode=$},F=(y,$,C,D,z,I,K)=>{const H=()=>{if(y.isMounted){let{next:q,bu:ie,u:ee,parent:U,vnode:k}=y;{const Ce=Xi(y);if(Ce){q&&(q.el=k.el,T(y,q,K)),Ce.asyncDep.then(()=>{vt(()=>{y.isUnmounted||g()},z)});return}}let j=q,oe;Io(y,!1),q?(q.el=k.el,T(y,q,K)):q=k,ie&&Ja(ie),(oe=q.props&&q.props.onVnodeBeforeUpdate)&&Vt(oe,U,q,k),Io(y,!0);const ue=Oi(y),be=y.subTree;y.subTree=ue,f(be,ue,m(be.el),Oe(be),y,z,I),q.el=ue.el,j===null&&bg(y,ue.el),ee&&vt(ee,z),(oe=q.props&&q.props.onVnodeUpdated)&&vt(()=>Vt(oe,U,q,k),z)}else{let q;const{el:ie,props:ee}=$,{bm:U,m:k,parent:j,root:oe,type:ue}=y,be=Jo($);Io(y,!1),U&&Ja(U),!be&&(q=ee&&ee.onVnodeBeforeMount)&&Vt(q,j,$),Io(y,!0);{oe.ce&&oe.ce._hasShadowRoot()&&oe.ce._injectChildStyle(ue,y.parent?y.parent.type:void 0);const Ce=y.subTree=Oi(y);f(null,Ce,C,D,y,z,I),$.el=Ce.el}if(k&&vt(k,z),!be&&(q=ee&&ee.onVnodeMounted)){const Ce=$;vt(()=>Vt(q,j,Ce),z)}($.shapeFlag&256||j&&Jo(j.vnode)&&j.vnode.shapeFlag&256)&&y.a&&vt(y.a,z),y.isMounted=!0,$=C=D=null}};y.scope.on();const d=y.effect=new Hr(H);y.scope.off();const g=y.update=d.run.bind(d),B=y.job=d.runIfDirty.bind(d);B.i=y,B.id=y.uid,d.scheduler=()=>ps(B),Io(y,!0),g()},T=(y,$,C)=>{$.component=y;const D=y.vnode.props;y.vnode=$,y.next=null,_g(y,$.props,D,C),xg(y,$.children,C),zt(),hi(y),Ut()},W=(y,$,C,D,z,I,K,H,d=!1)=>{const g=y&&y.children,B=y?y.shapeFlag:0,q=$.children,{patchFlag:ie,shapeFlag:ee}=$;if(ie>0){if(ie&128){X(g,q,C,D,z,I,K,H,d);return}else if(ie&256){he(g,q,C,D,z,I,K,H,d);return}}ee&8?(B&16&&$e(g,z,I),q!==g&&u(C,q)):B&16?ee&16?X(g,q,C,D,z,I,K,H,d):$e(g,z,I,!0):(B&8&&u(C,""),ee&16&&P(q,C,D,z,I,K,H,d))},he=(y,$,C,D,z,I,K,H,d)=>{y=y||zo,$=$||zo;const g=y.length,B=$.length,q=Math.min(g,B);let ie;for(ie=0;ieB?$e(y,z,I,!0,!1,q):P($,C,D,z,I,K,H,d,q)},X=(y,$,C,D,z,I,K,H,d)=>{let g=0;const B=$.length;let q=y.length-1,ie=B-1;for(;g<=q&&g<=ie;){const ee=y[g],U=$[g]=d?so($[g]):Wt($[g]);if(Cn(ee,U))f(ee,U,C,null,z,I,K,H,d);else break;g++}for(;g<=q&&g<=ie;){const ee=y[q],U=$[ie]=d?so($[ie]):Wt($[ie]);if(Cn(ee,U))f(ee,U,C,null,z,I,K,H,d);else break;q--,ie--}if(g>q){if(g<=ie){const ee=ie+1,U=eeie)for(;g<=q;)de(y[g],z,I,!0),g++;else{const ee=g,U=g,k=new Map;for(g=U;g<=ie;g++){const Fe=$[g]=d?so($[g]):Wt($[g]);Fe.key!=null&&k.set(Fe.key,g)}let j,oe=0;const ue=ie-U+1;let be=!1,Ce=0;const we=new Array(ue);for(g=0;g=ue){de(Fe,z,I,!0);continue}let He;if(Fe.key!=null)He=k.get(Fe.key);else for(j=U;j<=ie;j++)if(we[j-U]===0&&Cn(Fe,$[j])){He=j;break}He===void 0?de(Fe,z,I,!0):(we[He-U]=g+1,He>=Ce?Ce=He:be=!0,f(Fe,$[He],C,null,z,I,K,H,d),oe++)}const et=be?Eg(we):zo;for(j=et.length-1,g=ue-1;g>=0;g--){const Fe=U+g,He=$[Fe],Z=$[Fe+1],se=Fe+1{const{el:I,type:K,transition:H,children:d,shapeFlag:g}=y;if(g&6){re(y.component.subTree,$,C,D);return}if(g&128){y.suspense.move($,C,D);return}if(g&64){K.move(y,$,C,ge);return}if(K===Re){n(I,$,C);for(let q=0;qH.enter(I),z));else{const{leave:q,delayLeave:ie,afterLeave:ee}=H,U=()=>{y.ctx.isUnmounted?s(I):n(I,$,C)},k=()=>{const j=I._isLeaving||!!I[hs];I._isLeaving&&I[hs](!0),H.persisted&&!j?U():q(I,()=>{U(),ee&&ee()})};ie?ie(I,U,k):k()}else n(I,$,C)},de=(y,$,C,D=!1,z=!1)=>{const{type:I,props:K,ref:H,children:d,dynamicChildren:g,shapeFlag:B,patchFlag:q,dirs:ie,cacheIndex:ee,memo:U}=y;if(q===-2&&(z=!1),H!=null&&(zt(),wn(H,null,C,y,!0),Ut()),ee!=null&&($.renderCache[ee]=void 0),B&256){$.ctx.deactivate(y);return}const k=B&1&&ie,j=!Jo(y);let oe;if(j&&(oe=K&&K.onVnodeBeforeUnmount)&&Vt(oe,$,y),B&6)ye(y.component,C,D);else{if(B&128){y.suspense.unmount(C,D);return}k&&Po(y,null,$,"beforeUnmount"),B&64?y.type.remove(y,$,C,ge,D):g&&!g.hasOnce&&(I!==Re||q>0&&q&64)?$e(g,$,C,!1,!0):(I===Re&&q&384||!z&&B&16)&&$e(d,$,C),D&&Ae(y)}const ue=U!=null&&ee==null;(j&&(oe=K&&K.onVnodeUnmounted)||k||ue)&&vt(()=>{oe&&Vt(oe,$,y),k&&Po(y,null,$,"unmounted"),ue&&(y.el=null)},C)},Ae=y=>{const{type:$,el:C,anchor:D,transition:z}=y;if($===Re){Ie(C,D);return}if($===Es){b(y);return}const I=()=>{s(C),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(y.shapeFlag&1&&z&&!z.persisted){const{leave:K,delayLeave:H}=z,d=()=>K(C,I);H?H(y.el,I,d):d()}else I()},Ie=(y,$)=>{let C;for(;y!==$;)C=h(y),s(y),y=C;s($)},ye=(y,$,C)=>{const{bum:D,scope:z,job:I,subTree:K,um:H,m:d,a:g}=y;Zi(d),Zi(g),D&&Ja(D),z.stop(),I&&(I.flags|=8,de(K,y,$,C)),H&&vt(H,$),vt(()=>{y.isUnmounted=!0},$)},$e=(y,$,C,D=!1,z=!1,I=0)=>{for(let K=I;K{if(y.shapeFlag&6)return Oe(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const $=h(y.anchor||y.el),C=$&&$[Gd];return C?h(C):$};let ne=!1;const ae=(y,$,C)=>{let D;y==null?$._vnode&&(de($._vnode,null,null,!0),D=$._vnode.component):f($._vnode||null,y,$,null,null,null,C),$._vnode=y,ne||(ne=!0,hi(D),mi(),ne=!1)},ge={p:f,um:de,m:re,r:Ae,mt:G,mc:P,pc:W,pbc:R,n:Oe,o:e};return{render:ae,hydrate:void 0,createApp:ug(ae)}}function Ls({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 Io({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Lg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ji(e,t,o=!1){const n=e.children,s=t.children;if(xe(n)&&xe(s))for(let a=0;a>1,e[o[i]]0&&(t[n]=o[a-1]),o[a]=n)}}for(a=o.length,r=o[a-1];a-- >0;)o[a]=r,r=t[r];return o}function Xi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Xi(t)}function Zi(e){if(e)for(let t=0;te.__isSuspense;function Cg(e,t){t&&t.pendingBranch?xe(e)?t.effects.push(...e):t.effects.push(e):Rd(e)}const Re=Symbol.for("v-fgt"),An=Symbol.for("v-txt"),qt=Symbol.for("v-cmt"),Es=Symbol.for("v-stc"),ao=[];let Lt=null;function V(e=!1){ao.push(Lt=e?null:[])}function Cs(){ao.pop(),Lt=ao[ao.length-1]||null}let Ln=1;function ma(e,t=!1){Ln+=e,e<0&&Lt&&t&&(Lt.hasOnce=!0)}function tl(e){return e.dynamicChildren=Ln>0?Lt||zo:null,Cs(),Ln>0&&Lt&&Lt.push(e),e}function te(e,t,o,n,s,a){return tl(O(e,t,o,n,s,a,!0))}function Xe(e,t,o,n,s){return tl(We(e,t,o,n,s,!0))}function En(e){return e?e.__v_isVNode===!0:!1}function Cn(e,t){return e.type===t.type&&e.key===t.key}const ol=({key:e})=>e??null,ba=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||Je(e)||Le(e)?{i:gt,r:e,k:t,f:!!o}:e:null);function O(e,t=null,o=null,n=0,s=null,a=e===Re?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ol(t),ref:t&&ba(t),scopeId:yi,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:gt};return i?(ya(l,o),a&128&&e.normalize(l)):o&&(l.shapeFlag|=Ye(o)?8:16),Ln>0&&!r&&Lt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Lt.push(l),l}const We=$g;function $g(e,t=null,o=null,n=0,s=null,a=!1){if((!e||e===Li)&&(e=qt),En(e)){const i=Xo(e,t,!0);return o&&ya(i,o),Ln>0&&!a&&Lt&&(i.shapeFlag&6?Lt[Lt.indexOf(e)]=i:Lt.push(i)),i.patchFlag=-2,i}if(zg(e)&&(e=e.__vccOpts),t){t=Tg(t);let{class:i,style:l}=t;i&&!Ye(i)&&(t.class=Pe(i)),ze(l)&&(oa(l)&&!xe(l)&&(l=ot({},l)),t.style=st(l))}const r=Ye(e)?1:el(e)?128:ia(e)?64:ze(e)?4:Le(e)?2:0;return O(e,t,o,n,s,r,a,!0)}function Tg(e){return e?oa(e)||Gi(e)?ot({},e):e:null}function Xo(e,t,o=!1,n=!1){const{props:s,ref:a,patchFlag:r,children:i,transition:l}=e,c=t?Pg(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ol(c),ref:t&&t.ref?o&&a?xe(a)?a.concat(ba(t)):[a,ba(t)]:ba(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Re?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&ms(u,l.clone(u)),u}function ut(e=" ",t=0){return We(An,null,e,t)}function ve(e="",t=!1){return t?(V(),Xe(qt,null,e)):We(qt,null,e)}function Wt(e){return e==null||typeof e=="boolean"?We(qt):xe(e)?We(Re,null,e.slice()):En(e)?so(e):We(An,null,String(e))}function so(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Xo(e)}function ya(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(xe(t))o=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),ya(e,s()),s._c&&(s._d=!0));return}else{o=32;const s=t._;!s&&!Gi(t)?t._ctx=gt:s===3&>&&(gt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Le(t)){if(n&65){ya(e,{default:t});return}t={default:t,_ctx:gt},o=32}else t=String(t),n&64?(o=16,t=[ut(t)]):o=8;e.children=t,e.shapeFlag|=o}function Pg(...e){const t={};for(let o=0;opt||gt;let _a,$n;{const e=Vn(),t=(o,n)=>{let s;return(s=e[o])||(s=e[o]=[]),s.push(n),a=>{s.length>1?s.forEach(r=>r(a)):s[0](a)}};_a=t("__VUE_INSTANCE_SETTERS__",o=>pt=o),$n=t("__VUE_SSR_SETTERS__",o=>Zo=o)}const Tn=e=>{const t=pt;return _a(e),e.scope.on(),()=>{e.scope.off(),_a(t)}},nl=()=>{pt&&pt.scope.off(),_a(null)};function al(e){return e.vnode.shapeFlag&4}let Zo=!1;function Fg(e,t=!1,o=!1){t&&$n(t);const{props:n,children:s}=e.vnode,a=al(e);yg(e,n,a,t),wg(e,s,o||t);const r=a?Rg(e,t):void 0;return t&&$n(!1),r}function Rg(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ng);const{setup:n}=o;if(n){zt();const s=e.setupContext=n.length>1?Og(e):null,a=Tn(e),r=qo(n,e,0,[e.props,s]),i=Mr(r);if(Ut(),a(),(i||e.sp)&&!Jo(e)&&bs(e),i){if(r.then(nl,nl),t)return r.then(l=>{$n(!0);try{sl(e,l,t)}finally{$n(!1)}}).catch(l=>{_n(l,e,0)});e.asyncDep=r}else sl(e,r)}else rl(e)}function sl(e,t,o){Le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ze(t)&&(e.setupState=ui(t)),rl(e)}function rl(e,t,o){const n=e.type;e.render||(e.render=n.render||Bt);{const s=Tn(e);zt();try{ag(e)}finally{Ut(),s()}}}const Dg={get(e,t){return ht(e,"get",""),e[t]}};function Og(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Dg),slots:e.slots,emit:e.emit,expose:t}}function va(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ui(Ko(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in xn)return xn[o](e)},has(t,o){return o in t||o in xn}})):e.proxy}const Bg=/(?:^|[-_])\w/g,jg=e=>e.replace(Bg,t=>t.toUpperCase()).replace(/[-_]/g,"");function il(e,t=!0){return Le(e)?e.displayName||e.name:e.name||t&&e.__name}function ll(e,t,o=!1){let n=il(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e){const s=a=>{for(const r in a)if(a[r]===t)return r};n=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return n?jg(n):o?"App":"Anonymous"}function zg(e){return Le(e)&&"__vccOpts"in e}const Y=(e,t)=>Ed(e,t,Zo);function cl(e,t,o){try{ma(-1);const n=arguments.length;return n===2?ze(t)&&!xe(t)?En(t)?We(e,null,[t]):We(e,t):We(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&En(o)&&(o=[o]),We(e,t,o))}finally{ma(1)}}const Ug="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Ts;const dl=typeof window<"u"&&window.trustedTypes;if(dl)try{Ts=dl.createPolicy("vue",{createHTML:e=>e})}catch{}const gl=Ts?e=>Ts.createHTML(e):e=>e,Kg="http://www.w3.org/2000/svg",Hg="http://www.w3.org/1998/Math/MathML",io=typeof document<"u"?document:null,pl=io&&io.createElement("template"),qg={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const s=t==="svg"?io.createElementNS(Kg,e):t==="mathml"?io.createElementNS(Hg,e):o?io.createElement(e,{is:o}):io.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>io.createTextNode(e),createComment:e=>io.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>io.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,s,a){const r=o?o.previousSibling:t.lastChild;if(s&&(s===a||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),o),!(s===a||!(s=s.nextSibling)););else{pl.innerHTML=gl(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=pl.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,o)}return[r?r.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Wg=Symbol("_vtc");function Vg(e,t,o){const n=e[Wg];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const wa=Symbol("_vod"),fl=Symbol("_vsh"),Yg={name:"show",beforeMount(e,{value:t},{transition:o}){e[wa]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):Nn(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),Nn(e,!0),n.enter(e)):n.leave(e,()=>{Nn(e,!1)}):Nn(e,t))},beforeUnmount(e,{value:t}){Nn(e,t)}};function Nn(e,t){e.style.display=t?e[wa]:"none",e[fl]=!t}const Jg=Symbol(""),Xg=/(?:^|;)\s*display\s*:/;function Zg(e,t,o){const n=e.style,s=Ye(o);let a=!1;if(o&&!s){if(t)if(Ye(t))for(const r of t.split(";")){const i=r.slice(0,r.indexOf(":")).trim();o[i]==null&&In(n,i,"")}else for(const r in t)o[r]==null&&In(n,r,"");for(const r in o){r==="display"&&(a=!0);const i=o[r];i!=null?ep(e,r,!Ye(t)&&t?t[r]:void 0,i)||In(n,r,i):In(n,r,"")}}else if(s){if(t!==o){const r=n[Jg];r&&(o+=";"+r),n.cssText=o,a=Xg.test(o)}}else t&&e.removeAttribute("style");wa in e&&(e[wa]=a?n.display:"",e[fl]&&(n.display="none"))}const xa=/\s*!important$/;function In(e,t,o){if(xe(o))o.forEach(n=>In(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))xa.test(o)?e.setProperty(t,o.replace(xa,""),"important"):e.setProperty(t,o);else{const n=Qg(e,t);xa.test(o)?e.setProperty(Ct(n),o.replace(xa,""),"important"):e[n]=o}}const hl=["Webkit","Moz","ms"],Ps={};function Qg(e,t){const o=Ps[t];if(o)return o;let n=ct(t);if(n!=="filter"&&n in e)return Ps[t]=n;n=Vn(n);for(let s=0;sNs||(ip.then(()=>Ns=0),Ns=Date.now());function cp(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const s=o.value;if(xe(s)){const a=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{a.call(n),n._stopped=!0};const r=s.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,up=(e,t,o,n,s,a)=>{const r=s==="svg";t==="class"?Vg(e,n,r):t==="style"?Zg(e,o,n):Un(t)?Gn(t)||np(e,t,o,n,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):dp(e,t,n,r))?(yl(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&bl(e,t,n,r,a,t!=="value")):e._isVueCE&&(gp(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ye(n)))?yl(e,ct(t),n,a,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),bl(e,t,n,r))};function dp(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&vl(t)&&Le(o));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return vl(t)&&Ye(o)?!1:t in e}function gp(e,t){const o=e._def.props;if(!o)return!1;const n=ct(t);return Array.isArray(o)?o.some(s=>ct(s)===n):Object.keys(o).some(s=>ct(s)===n)}const kl={};function pp(e,t,o){let n=wn(e,t);Hn(n)&&(n=ot({},n,t));class s extends Is{constructor(r){super(n,r,o)}}return s.def=n,s}const fp=typeof HTMLElement<"u"?HTMLElement:class{};class Is extends fp{constructor(t,o={},n=Sl){super(),this._def=t,this._props=o,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==Sl?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ot({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof Is){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Jo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:a,styles:r}=n;let i;if(a&&!xe(a))for(const l in a){const c=a[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Or(this._props[l])),(i||(i=Object.create(null)))[ct(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(r),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)je(this,n)||Object.defineProperty(this,n,{get:()=>pe(o[n])})}_resolveProps(t){const{props:o}=t,n=xe(o)?o:Object.keys(o||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(ct))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(a){this._setProp(s,a,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):kl;const s=ct(t);o&&this._numberProps&&this._numberProps[s]&&(n=Or(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,s=!1){if(o!==this._props[t]&&(this._dirty=!0,o===kl?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),s&&this._instance&&this._update(),n)){const a=this._ob;a&&(this._processMutations(a.takeRecords()),a.disconnect()),o===!0?this.setAttribute(Ct(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Ct(t),o+""):o||this.removeAttribute(Ct(t)),a&&a.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),yp(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=We(this._def,ot(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const s=(a,r)=>{this.dispatchEvent(new CustomEvent(a,Hn(r[0])?ot({detail:r},r[0]):{detail:r}))};n.emit=(a,...r)=>{s(a,r),Ct(a)!==a&&s(Ct(a),r)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const s=this._nonce,a=this.shadowRoot,r=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(a);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");s&&c.setAttribute("nonce",s),c.textContent=t[l],a.insertBefore(c,i||r),i=c,l===0&&(n||this._styleAnchors.set(this._def,c),o&&this._styleAnchors.set(o,c))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;oe.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>hp.some(o=>e[`${o}Key`]&&!t.includes(o))},kt=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(s,...a)=>{for(let r=0;r{xl().render(...e)},Sl=(...e)=>{const t=xl().createApp(...e),{mount:o}=t;return t.mount=n=>{const s=vp(n);if(!s)return;const a=t._component;!Le(a)&&!a.render&&!a.template&&(a.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const r=o(s,!1,_p(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},t};function _p(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function vp(e){return Ye(e)?document.querySelector(e):e}/*! +**/let $s;const ul=typeof window<"u"&&window.trustedTypes;if(ul)try{$s=ul.createPolicy("vue",{createHTML:e=>e})}catch{}const dl=$s?e=>$s.createHTML(e):e=>e,Gg="http://www.w3.org/2000/svg",Kg="http://www.w3.org/1998/Math/MathML",io=typeof document<"u"?document:null,gl=io&&io.createElement("template"),Hg={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const s=t==="svg"?io.createElementNS(Gg,e):t==="mathml"?io.createElementNS(Kg,e):o?io.createElement(e,{is:o}):io.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>io.createTextNode(e),createComment:e=>io.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>io.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,s,a){const r=o?o.previousSibling:t.lastChild;if(s&&(s===a||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),o),!(s===a||!(s=s.nextSibling)););else{gl.innerHTML=dl(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=gl.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,o)}return[r?r.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},qg=Symbol("_vtc");function Wg(e,t,o){const n=e[qg];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const ka=Symbol("_vod"),pl=Symbol("_vsh"),Vg={name:"show",beforeMount(e,{value:t},{transition:o}){e[ka]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):Pn(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),Pn(e,!0),n.enter(e)):n.leave(e,()=>{Pn(e,!1)}):Pn(e,t))},beforeUnmount(e,{value:t}){Pn(e,t)}};function Pn(e,t){e.style.display=t?e[ka]:"none",e[pl]=!t}const Yg=Symbol(""),Jg=/(?:^|;)\s*display\s*:/;function Xg(e,t,o){const n=e.style,s=Ye(o);let a=!1;if(o&&!s){if(t)if(Ye(t))for(const r of t.split(";")){const i=r.slice(0,r.indexOf(":")).trim();o[i]==null&&Nn(n,i,"")}else for(const r in t)o[r]==null&&Nn(n,r,"");for(const r in o){r==="display"&&(a=!0);const i=o[r];i!=null?Qg(e,r,!Ye(t)&&t?t[r]:void 0,i)||Nn(n,r,i):Nn(n,r,"")}}else if(s){if(t!==o){const r=n[Yg];r&&(o+=";"+r),n.cssText=o,a=Jg.test(o)}}else t&&e.removeAttribute("style");ka in e&&(e[ka]=a?n.display:"",e[pl]&&(n.display="none"))}const wa=/\s*!important$/;function Nn(e,t,o){if(xe(o))o.forEach(n=>Nn(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))wa.test(o)?e.setProperty(t,o.replace(wa,""),"important"):e.setProperty(t,o);else{const n=Zg(e,t);wa.test(o)?e.setProperty(Ct(n),o.replace(wa,""),"important"):e[n]=o}}const fl=["Webkit","Moz","ms"],Ts={};function Zg(e,t){const o=Ts[t];if(o)return o;let n=ct(t);if(n!=="filter"&&n in e)return Ts[t]=n;n=Wn(n);for(let s=0;sPs||(rp.then(()=>Ps=0),Ps=Date.now());function lp(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const s=o.value;if(xe(s)){const a=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{a.call(n),n._stopped=!0};const r=s.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,cp=(e,t,o,n,s,a)=>{const r=s==="svg";t==="class"?Wg(e,n,r):t==="style"?Xg(e,o,n):zn(t)?Un(t)||op(e,t,o,n,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):up(e,t,n,r))?(bl(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ml(e,t,n,r,a,t!=="value")):e._isVueCE&&(dp(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ye(n)))?bl(e,ct(t),n,a,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),ml(e,t,n,r))};function up(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&_l(t)&&Le(o));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return _l(t)&&Ye(o)?!1:t in e}function dp(e,t){const o=e._def.props;if(!o)return!1;const n=ct(t);return Array.isArray(o)?o.some(s=>ct(s)===n):Object.keys(o).some(s=>ct(s)===n)}const vl={};function gp(e,t,o){let n=kn(e,t);Kn(n)&&(n=ot({},n,t));class s extends Ns{constructor(r){super(n,r,o)}}return s.def=n,s}const pp=typeof HTMLElement<"u"?HTMLElement:class{};class Ns extends pp{constructor(t,o={},n=xl){super(),this._def=t,this._props=o,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==xl?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ot({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof Ns){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Yo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:a,styles:r}=n;let i;if(a&&!xe(a))for(const l in a){const c=a[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Dr(this._props[l])),(i||(i=Object.create(null)))[ct(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(r),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)je(this,n)||Object.defineProperty(this,n,{get:()=>pe(o[n])})}_resolveProps(t){const{props:o}=t,n=xe(o)?o:Object.keys(o||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(ct))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(a){this._setProp(s,a,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):vl;const s=ct(t);o&&this._numberProps&&this._numberProps[s]&&(n=Dr(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,s=!1){if(o!==this._props[t]&&(this._dirty=!0,o===vl?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),s&&this._instance&&this._update(),n)){const a=this._ob;a&&(this._processMutations(a.takeRecords()),a.disconnect()),o===!0?this.setAttribute(Ct(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Ct(t),o+""):o||this.removeAttribute(Ct(t)),a&&a.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),bp(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=We(this._def,ot(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const s=(a,r)=>{this.dispatchEvent(new CustomEvent(a,Kn(r[0])?ot({detail:r},r[0]):{detail:r}))};n.emit=(a,...r)=>{s(a,r),Ct(a)!==a&&s(Ct(a),r)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const s=this._nonce,a=this.shadowRoot,r=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(a);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");s&&c.setAttribute("nonce",s),c.textContent=t[l],a.insertBefore(c,i||r),i=c,l===0&&(n||this._styleAnchors.set(this._def,c),o&&this._styleAnchors.set(o,c))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;oe.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>fp.some(o=>e[`${o}Key`]&&!t.includes(o))},kt=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(s,...a)=>{for(let r=0;r{wl().render(...e)},xl=(...e)=>{const t=wl().createApp(...e),{mount:o}=t;return t.mount=n=>{const s=_p(n);if(!s)return;const a=t._component;!Le(a)&&!a.render&&!a.template&&(a.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const r=o(s,!1,yp(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},t};function yp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function _p(e){return Ye(e)?document.querySelector(e):e}/*! * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let Al;const Sa=e=>Al=e,Ll=Symbol();function Ms(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Mn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Mn||(Mn={}));function kp(){const e=Qa(!0),t=e.run(()=>me({}));let o=[],n=[];const s=Ho({install(a){Sa(s),s._a=a,a.provide(Ll,s),a.config.globalProperties.$pinia=s,n.forEach(r=>o.push(r)),n=[]},use(a){return this._a?o.push(a):n.push(a),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return s}const El=()=>{};function Cl(e,t,o,n=El){e.push(t);const s=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!o&&Hr()&&od(s),s}function en(e,...t){e.slice().forEach(o=>{o(...t)})}const wp=e=>e(),$l=Symbol(),Fs=Symbol();function Rs(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],s=e[o];Ms(s)&&Ms(n)&&e.hasOwnProperty(o)&&!Je(n)&&!eo(n)?e[o]=Rs(s,n):e[o]=n}return e}const xp=Symbol();function Sp(e){return!Ms(e)||!e.hasOwnProperty(xp)}const{assign:yo}=Object;function Ap(e){return!!(Je(e)&&e.effect)}function Lp(e,t,o,n){const{state:s,actions:a,getters:r}=t,i=o.state.value[e];let l;function c(){i||(o.state.value[e]=s?s():{});const u=Sd(o.state.value[e]);return yo(u,a,Object.keys(r||{}).reduce((m,h)=>(m[h]=Ho(Y(()=>{Sa(o);const L=o._s.get(e);return r[h].call(L,L)})),m),{}))}return l=Tl(e,c,t,o,n,!0),l}function Tl(e,t,o={},n,s,a){let r;const i=yo({actions:{}},o),l={deep:!0};let c,u,m=[],h=[],L;const A=n.state.value[e];!a&&!A&&(n.state.value[e]={});let p;function S(P){let x;c=u=!1,typeof P=="function"?(P(n.state.value[e]),x={type:Mn.patchFunction,storeId:e,events:L}):(Rs(n.state.value[e],P),x={type:Mn.patchObject,payload:P,storeId:e,events:L});const R=p=Symbol();Jo().then(()=>{p===R&&(c=!0)}),u=!0,en(m,x,n.state.value[e])}const v=a?function(){const{state:x}=o,R=x?x():{};this.$patch(J=>{yo(J,R)})}:El;function w(){r.stop(),m=[],h=[],n._s.delete(e)}const f=(P,x="")=>{if($l in P)return P[Fs]=x,P;const R=function(){Sa(n);const J=Array.from(arguments),Q=[],le=[];function G(T){Q.push(T)}function N(T){le.push(T)}en(h,{args:J,name:R[Fs],store:_,after:G,onError:N});let F;try{F=P.apply(this&&this.$id===e?this:_,J)}catch(T){throw en(le,T),T}return F instanceof Promise?F.then(T=>(en(Q,T),T)).catch(T=>(en(le,T),Promise.reject(T))):(en(Q,F),F)};return R[$l]=!0,R[Fs]=x,R},b={_p:n,$id:e,$onAction:Cl.bind(null,h),$patch:S,$reset:v,$subscribe(P,x={}){const R=Cl(m,P,x.detached,()=>J()),J=r.run(()=>Ue(()=>n.state.value[e],Q=>{(x.flush==="sync"?u:c)&&P({storeId:e,type:Mn.direct,events:L},Q)},yo({},l,x)));return R},$dispose:w},_=Ko(b);n._s.set(e,_);const M=(n._a&&n._a.runWithContext||wp)(()=>n._e.run(()=>(r=Qa()).run(()=>t({action:f}))));for(const P in M){const x=M[P];if(Je(x)&&!Ap(x)||eo(x))a||(A&&Sp(x)&&(Je(x)?x.value=A[P]:Rs(x,A[P])),n.state.value[e][P]=x);else if(typeof x=="function"){const R=f(x,P);M[P]=R,i.actions[P]=x}}return yo(_,M),yo(Me(_),M),Object.defineProperty(_,"$state",{get:()=>n.state.value[e],set:P=>{S(x=>{yo(x,P)})}}),n._p.forEach(P=>{yo(_,r.run(()=>P({store:_,app:n._a,pinia:n,options:i})))}),A&&a&&o.hydrate&&o.hydrate(_.$state,A),c=!0,u=!0,_}/*! #__NO_SIDE_EFFECTS__ */function Ds(e,t,o){let n,s;const a=typeof t=="function";typeof e=="string"?(n=e,s=a?o:t):(s=e,n=e.id);function r(i,l){const c=Bd();return i=i||(c?Te(Ll,null):null),i&&Sa(i),i=Al,i._s.has(n)||(a?Tl(n,t,s,i):Lp(n,s,i)),i._s.get(n)}return r.$id=n,r}const Ep={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},Cp={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},$p={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},Tp={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:"اللغات"}},Pp={menuComingSoon:"القائمة قادمة قريباً"},Np={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},Ip={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},Mp={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},Fp={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},Rp={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},Dp={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"},Op={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},Bp={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"}},jp={menuComingSoon:"Menü folgt in Kürze"},zp={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Up={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},Gp={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},Kp={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"},Hp={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},qp={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!"]},Wp={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Vp={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"}},Yp={menuComingSoon:"Menu coming soon"},Jp={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},Xp={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Zp={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},Qp={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"}},ef={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},tf={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},of={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"},nf={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."}},af={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"}},sf={menuComingSoon:"Menú próximamente"},rf={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},lf={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},cf={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"}},uf={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"},df={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},gf={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"},pf={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},ff={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"}},hf={menuComingSoon:"Menu bientôt disponible"},mf={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},bf={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},yf={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},_f={placeholder:"Peuple, lieu, langue, religion",labels:{people:"Peuple :",place:"Lieu :",language:"Langue :",religion:"Religion :"},kinds:{people:"Peuple + pays",peopleGroup:"Peuple",bloc:"Bloc d'affinité",cluster:"Grappe de peuples",country:"Pays",region:"Région",family:"Famille linguistique",languageKind:"Langue",dialect:"Dialecte",religionKind:"Religion"}},vf={prayer:"Prière",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Peuples",regions:"Régions",countries:"Pays","language-families":"Langues",religion:"Religions",family:"Famille linguistique",language:"Langue",dialect:"Dialecte/Variété",bloc:"Bloc d'affinité",cluster:"Grappe",group:"Peuple",pgic:"Peuple dans le pays",region:"Région WAGF",block:"Bloc WAGF",country:"Pays"},kf={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},wf={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:"कोई विवरण उपलब्ध नहीं है।"}},Sf={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:"कुल"}},Af={menuComingSoon:"मेनू शीघ्र आ रहा है"},Lf={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Ef={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},Cf={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},$f={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},Tf={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"},Pf={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},Nf={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"}},If={menuComingSoon:"Menu in arrivo"},Mf={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},Ff={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},Rf={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},Df={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},Of={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"},Bf={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."}},jf={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"}},zf={menuComingSoon:"Menu em breve"},Uf={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},Gf={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},Kf={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"}},Hf={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"},qf={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Wf={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ă"},Vf={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ă."}},Yf={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"}},Jf={menuComingSoon:"Meniu în curând"},Xf={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},Zf={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Qf={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},eh={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},th={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},oh={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},nh={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:"Языки"}},ah={menuComingSoon:"Меню скоро появится"},sh={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},rh={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},ih={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},lh={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},ch={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},uh={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},dh={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},gh={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:"总计"}},ph={menuComingSoon:"菜单即将推出"},fh={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},hh={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},mh={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! + */let Sl;const xa=e=>Sl=e,Al=Symbol();function Is(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var In;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(In||(In={}));function vp(){const e=Za(!0),t=e.run(()=>me({}));let o=[],n=[];const s=Ko({install(a){xa(s),s._a=a,a.provide(Al,s),a.config.globalProperties.$pinia=s,n.forEach(r=>o.push(r)),n=[]},use(a){return this._a?o.push(a):n.push(a),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return s}const Ll=()=>{};function El(e,t,o,n=Ll){e.push(t);const s=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!o&&Kr()&&td(s),s}function Qo(e,...t){e.slice().forEach(o=>{o(...t)})}const kp=e=>e(),Cl=Symbol(),Ms=Symbol();function Fs(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],s=e[o];Is(s)&&Is(n)&&e.hasOwnProperty(o)&&!Je(n)&&!eo(n)?e[o]=Fs(s,n):e[o]=n}return e}const wp=Symbol();function xp(e){return!Is(e)||!e.hasOwnProperty(wp)}const{assign:yo}=Object;function Sp(e){return!!(Je(e)&&e.effect)}function Ap(e,t,o,n){const{state:s,actions:a,getters:r}=t,i=o.state.value[e];let l;function c(){i||(o.state.value[e]=s?s():{});const u=xd(o.state.value[e]);return yo(u,a,Object.keys(r||{}).reduce((m,h)=>(m[h]=Ko(Y(()=>{xa(o);const L=o._s.get(e);return r[h].call(L,L)})),m),{}))}return l=$l(e,c,t,o,n,!0),l}function $l(e,t,o={},n,s,a){let r;const i=yo({actions:{}},o),l={deep:!0};let c,u,m=[],h=[],L;const A=n.state.value[e];!a&&!A&&(n.state.value[e]={});let f;function S(P){let x;c=u=!1,typeof P=="function"?(P(n.state.value[e]),x={type:In.patchFunction,storeId:e,events:L}):(Fs(n.state.value[e],P),x={type:In.patchObject,payload:P,storeId:e,events:L});const R=f=Symbol();Yo().then(()=>{f===R&&(c=!0)}),u=!0,Qo(m,x,n.state.value[e])}const v=a?function(){const{state:x}=o,R=x?x():{};this.$patch(J=>{yo(J,R)})}:Ll;function w(){r.stop(),m=[],h=[],n._s.delete(e)}const p=(P,x="")=>{if(Cl in P)return P[Ms]=x,P;const R=function(){xa(n);const J=Array.from(arguments),Q=[],le=[];function G(T){Q.push(T)}function N(T){le.push(T)}Qo(h,{args:J,name:R[Ms],store:_,after:G,onError:N});let F;try{F=P.apply(this&&this.$id===e?this:_,J)}catch(T){throw Qo(le,T),T}return F instanceof Promise?F.then(T=>(Qo(Q,T),T)).catch(T=>(Qo(le,T),Promise.reject(T))):(Qo(Q,F),F)};return R[Cl]=!0,R[Ms]=x,R},b={_p:n,$id:e,$onAction:El.bind(null,h),$patch:S,$reset:v,$subscribe(P,x={}){const R=El(m,P,x.detached,()=>J()),J=r.run(()=>Ke(()=>n.state.value[e],Q=>{(x.flush==="sync"?u:c)&&P({storeId:e,type:In.direct,events:L},Q)},yo({},l,x)));return R},$dispose:w},_=Go(b);n._s.set(e,_);const M=(n._a&&n._a.runWithContext||kp)(()=>n._e.run(()=>(r=Za()).run(()=>t({action:p}))));for(const P in M){const x=M[P];if(Je(x)&&!Sp(x)||eo(x))a||(A&&xp(x)&&(Je(x)?x.value=A[P]:Fs(x,A[P])),n.state.value[e][P]=x);else if(typeof x=="function"){const R=p(x,P);M[P]=R,i.actions[P]=x}}return yo(_,M),yo(Me(_),M),Object.defineProperty(_,"$state",{get:()=>n.state.value[e],set:P=>{S(x=>{yo(x,P)})}}),n._p.forEach(P=>{yo(_,r.run(()=>P({store:_,app:n._a,pinia:n,options:i})))}),A&&a&&o.hydrate&&o.hydrate(_.$state,A),c=!0,u=!0,_}/*! #__NO_SIDE_EFFECTS__ */function Rs(e,t,o){let n,s;const a=typeof t=="function";typeof e=="string"?(n=e,s=a?o:t):(s=e,n=e.id);function r(i,l){const c=Od();return i=i||(c?Te(Al,null):null),i&&xa(i),i=Sl,i._s.has(n)||(a?$l(n,t,s,i):Ap(n,s,i)),i._s.get(n)}return r.$id=n,r}const Lp={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},Ep={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},Cp={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},$p={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:"اللغات"}},Tp={menuComingSoon:"القائمة قادمة قريباً"},Pp={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},Np={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},Ip={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},Mp={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},Fp={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},Rp={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"},Dp={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},Op={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"}},Bp={menuComingSoon:"Menü folgt in Kürze"},jp={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},zp={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},Up={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},Gp={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"},Kp={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},Hp={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!"]},qp={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Wp={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"}},Vp={menuComingSoon:"Menu coming soon"},Yp={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},Jp={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Xp={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},Zp={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"}},Qp={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},ef={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},tf={prayForThem:"Ora por ellos",adoptThem:"Adóptalos",moreInfo:"Más información",zoomIn:"Acercar",zoomOut:"Alejar",switchToLightMode:"Cambiar a modo claro",switchToDarkMode:"Cambiar a modo oscuro",resetView:"Restablecer vista",toggleFullscreen:"Alternar pantalla completa",aboutThisMap:"Acerca de este mapa",closeMenu:"Cerrar menú",reloadMap:"Recargar mapa",showClusters:"Mostrar clústeres",clusterSettings:"Ajustes de clústeres",startAutoFly:"Iniciar vuelo automático",stopFlight:"Detener vuelo",speedLabel:"Velocidad:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Compartir e incrustar"},of={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."}},nf={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"}},af={menuComingSoon:"Menú próximamente"},sf={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},rf={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},lf={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"}},cf={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"},uf={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},df={prayForThem:"Priez pour eux",adoptThem:"Adoptez-les",moreInfo:"Plus d'infos",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",switchToLightMode:"Passer au mode clair",switchToDarkMode:"Passer au mode sombre",resetView:"Réinitialiser la vue",toggleFullscreen:"Basculer en plein écran",aboutThisMap:"À propos de cette carte",closeMenu:"Fermer le menu",reloadMap:"Recharger la carte",showClusters:"Afficher les clusters",clusterSettings:"Paramètres des clusters",startAutoFly:"Démarrer le vol auto",stopFlight:"Arrêter le vol",speedLabel:"Vitesse :",speedOption:{slow:"Lente",normal:"Normale",fast:"Rapide"},shareEmbed:"Partager et intégrer"},gf={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},pf={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"}},ff={menuComingSoon:"Menu bientôt disponible"},hf={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},mf={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},bf={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},yf={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"}},_f={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"},vf={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},kf={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},wf={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},xf={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:"कुल"}},Sf={menuComingSoon:"मेनू शीघ्र आ रहा है"},Af={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Lf={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},Ef={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},Cf={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},$f={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"},Tf={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},Pf={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"}},Nf={menuComingSoon:"Menu in arrivo"},If={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},Mf={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},Ff={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},Rf={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},Df={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"},Of={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."}},Bf={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"}},jf={menuComingSoon:"Menu em breve"},zf={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},Uf={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},Gf={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"}},Kf={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"},Hf={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},qf={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ă"},Wf={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"}},Yf={menuComingSoon:"Meniu în curând"},Jf={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},Xf={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Zf={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},Qf={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},eh={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},th={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},oh={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:"Языки"}},nh={menuComingSoon:"Меню скоро появится"},ah={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},sh={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},rh={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},ih={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},lh={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},ch={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:"暂无描述。"}},dh={title:{prayer:"祷告进度",engagement:"参与进度",adoption:"认领进度",languageFamilies:"语系",doxaRegions:"Doxa 区域",affinityBlocs:"亲缘板块",gospelResources:"福音资源"},header:{collapsed:"图例",peopleGroupFallback:"民族群体"},prayer:{needsPrayer:"需要祷告",hasPrayer:"已有祷告",fullPrayerCoverage:"全面祷告覆盖"},progress:{title:"进度",covered:"{total} 个民族群体中已有 {covered} 个被祷告覆盖 · {pct}%",short:"{covered} / {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"需要参与",hasEngagement:"已有参与"},adoption:{needsAdoption:"需要认领",hasAdoption:"已有认领"},columns:{upgs:"UUPGs",population:"人口"},footer:{total:"总计"}},gh={menuComingSoon:"菜单即将推出"},ph={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},fh={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},hh={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! * shared v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function bh(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Aa=typeof window<"u",_o=(e,t=!1)=>t?Symbol.for(e):Symbol(e),yh=(e,t,o)=>_h({l:e,k:t,s:o}),_h=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),nt=e=>typeof e=="number"&&isFinite(e),vh=e=>Fl(e)==="[object Date]",vo=e=>Fl(e)==="[object RegExp]",La=e=>Ce(e)&&Object.keys(e).length===0,ft=Object.assign,kh=Object.create,Ge=(e=null)=>kh(e);let Pl;const lo=()=>Pl||(Pl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ge());function Nl(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Il(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function wh(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,s,a)=>`${s}="${Il(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,s,a)=>`${s}='${Il(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(n=>{e=e.replace(n,"$1javascript:")}),e}const xh=Object.prototype.hasOwnProperty;function Ft(e,t){return xh.call(e,t)}const Ze=Array.isArray,Ve=e=>typeof e=="function",fe=e=>typeof e=="string",Ne=e=>typeof e=="boolean",Be=e=>e!==null&&typeof e=="object",Sh=e=>Be(e)&&Ve(e.then)&&Ve(e.catch),Ml=Object.prototype.toString,Fl=e=>Ml.call(e),Ce=e=>{if(!Be(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Ah=e=>e==null?"":Ze(e)||Ce(e)&&e.toString===Ml?JSON.stringify(e,null,2):String(e);function Lh(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}function Ea(e){let t=e;return()=>++t}const Ca=e=>!Be(e)||Ze(e);function $a(e,t){if(Ca(e)||Ca(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:s}=o.pop();Object.keys(n).forEach(a=>{a!=="__proto__"&&(Be(n[a])&&!Be(s[a])&&(s[a]=Array.isArray(n[a])?[]:Ge()),Ca(s[a])||Ca(n[a])?s[a]=n[a]:o.push({src:n[a],des:s[a]}))})}}/*! + */function mh(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Sa=typeof window<"u",_o=(e,t=!1)=>t?Symbol.for(e):Symbol(e),bh=(e,t,o)=>yh({l:e,k:t,s:o}),yh=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),nt=e=>typeof e=="number"&&isFinite(e),_h=e=>Ml(e)==="[object Date]",vo=e=>Ml(e)==="[object RegExp]",Aa=e=>Ee(e)&&Object.keys(e).length===0,ft=Object.assign,vh=Object.create,Ue=(e=null)=>vh(e);let Tl;const lo=()=>Tl||(Tl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ue());function Pl(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Nl(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function kh(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,s,a)=>`${s}="${Nl(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,s,a)=>`${s}='${Nl(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(n=>{e=e.replace(n,"$1javascript:")}),e}const wh=Object.prototype.hasOwnProperty;function Ft(e,t){return wh.call(e,t)}const Ze=Array.isArray,Ve=e=>typeof e=="function",fe=e=>typeof e=="string",Ne=e=>typeof e=="boolean",Be=e=>e!==null&&typeof e=="object",xh=e=>Be(e)&&Ve(e.then)&&Ve(e.catch),Il=Object.prototype.toString,Ml=e=>Il.call(e),Ee=e=>{if(!Be(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Sh=e=>e==null?"":Ze(e)||Ee(e)&&e.toString===Il?JSON.stringify(e,null,2):String(e);function Ah(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}function La(e){let t=e;return()=>++t}const Ea=e=>!Be(e)||Ze(e);function Ca(e,t){if(Ea(e)||Ea(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:s}=o.pop();Object.keys(n).forEach(a=>{a!=="__proto__"&&(Be(n[a])&&!Be(s[a])&&(s[a]=Array.isArray(n[a])?[]:Ue()),Ea(s[a])||Ea(n[a])?s[a]=n[a]:o.push({src:n[a],des:s[a]}))})}}/*! * message-compiler v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function Eh(e,t,o){return{line:e,column:t,offset:o}}function Ta(e,t,o){return{start:e,end:t}}const Ch=/\{([0-9a-zA-Z]+)\}/g;function Rl(e,...t){return t.length===1&&$h(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Ch,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const Dl=Object.assign,Ol=e=>typeof e=="string",$h=e=>e!==null&&typeof e=="object";function Bl(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}const Os={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Th={[Os.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Ph(e,t,...o){const n=Rl(Th[e],...o||[]),s={message:String(n),code:e};return t&&(s.location=t),s}const Se={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},Nh={[Se.EXPECTED_TOKEN]:"Expected token: '{0}'",[Se.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Se.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Se.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Se.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Se.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Se.EMPTY_PLACEHOLDER]:"Empty placeholder",[Se.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Se.INVALID_LINKED_FORMAT]:"Invalid linked format",[Se.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Se.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Se.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Se.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Se.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Se.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function tn(e,t,o={}){const{domain:n,messages:s,args:a}=o,r=Rl((s||Nh)[e]||"",...a||[]),i=new SyntaxError(String(r));return i.code=e,t&&(i.location=t),i.domain=n,i}function Ih(e){throw e}const co=" ",Mh="\r",_t=` -`,Fh="\u2028",Rh="\u2029";function Dh(e){const t=e;let o=0,n=1,s=1,a=0;const r=M=>t[M]===Mh&&t[M+1]===_t,i=M=>t[M]===_t,l=M=>t[M]===Rh,c=M=>t[M]===Fh,u=M=>r(M)||i(M)||l(M)||c(M),m=()=>o,h=()=>n,L=()=>s,A=()=>a,p=M=>r(M)||l(M)||c(M)?_t:t[M],S=()=>p(o),v=()=>p(o+a);function w(){return a=0,u(o)&&(n++,s=0),r(o)&&o++,o++,s++,t[o]}function f(){return r(o+a)&&a++,a++,t[o+a]}function b(){o=0,n=1,s=1,a=0}function _(M=0){a=M}function E(){const M=o+a;for(;M!==o;)w();a=0}return{index:m,line:h,column:L,peekOffset:A,charAt:p,currentChar:S,currentPeek:v,next:w,peek:f,reset:b,resetPeek:_,skipToPeek:E}}const ko=void 0,Oh=".",jl="'",Bh="tokenizer";function jh(e,t={}){const o=t.location!==!1,n=Dh(e),s=()=>n.index(),a=()=>Eh(n.line(),n.column(),n.index()),r=a(),i=s(),l={currentType:14,offset:i,startLoc:r,endLoc:r,lastType:14,lastOffset:i,lastStartLoc:r,lastEndLoc:r,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function m(d,g,B,...q){const ie=c();if(g.column+=B,g.offset+=B,u){const ee=o?Ta(ie.startLoc,g):null,U=tn(d,ee,{domain:Bh,args:q});u(U)}}function h(d,g,B){d.endLoc=a(),d.currentType=g;const q={type:g};return o&&(q.loc=Ta(d.startLoc,d.endLoc)),B!=null&&(q.value=B),q}const L=d=>h(d,14);function A(d,g){return d.currentChar()===g?(d.next(),g):(m(Se.EXPECTED_TOKEN,a(),0,g),"")}function p(d){let g="";for(;d.currentPeek()===co||d.currentPeek()===_t;)g+=d.currentPeek(),d.peek();return g}function S(d){const g=p(d);return d.skipToPeek(),g}function v(d){if(d===ko)return!1;const g=d.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function w(d){if(d===ko)return!1;const g=d.charCodeAt(0);return g>=48&&g<=57}function f(d,g){const{currentType:B}=g;if(B!==2)return!1;p(d);const q=v(d.currentPeek());return d.resetPeek(),q}function b(d,g){const{currentType:B}=g;if(B!==2)return!1;p(d);const q=d.currentPeek()==="-"?d.peek():d.currentPeek(),ie=w(q);return d.resetPeek(),ie}function _(d,g){const{currentType:B}=g;if(B!==2)return!1;p(d);const q=d.currentPeek()===jl;return d.resetPeek(),q}function E(d,g){const{currentType:B}=g;if(B!==8)return!1;p(d);const q=d.currentPeek()===".";return d.resetPeek(),q}function M(d,g){const{currentType:B}=g;if(B!==9)return!1;p(d);const q=v(d.currentPeek());return d.resetPeek(),q}function P(d,g){const{currentType:B}=g;if(!(B===8||B===12))return!1;p(d);const q=d.currentPeek()===":";return d.resetPeek(),q}function x(d,g){const{currentType:B}=g;if(B!==10)return!1;const q=()=>{const ee=d.currentPeek();return ee==="{"?v(d.peek()):ee==="@"||ee==="%"||ee==="|"||ee===":"||ee==="."||ee===co||!ee?!1:ee===_t?(d.peek(),q()):Q(d,!1)},ie=q();return d.resetPeek(),ie}function R(d){p(d);const g=d.currentPeek()==="|";return d.resetPeek(),g}function J(d){const g=p(d),B=d.currentPeek()==="%"&&d.peek()==="{";return d.resetPeek(),{isModulo:B,hasSpace:g.length>0}}function Q(d,g=!0){const B=(ie=!1,ee="",U=!1)=>{const k=d.currentPeek();return k==="{"?ee==="%"?!1:ie:k==="@"||!k?ee==="%"?!0:ie:k==="%"?(d.peek(),B(ie,"%",!0)):k==="|"?ee==="%"||U?!0:!(ee===co||ee===_t):k===co?(d.peek(),B(!0,co,U)):k===_t?(d.peek(),B(!0,_t,U)):!0},q=B();return g&&d.resetPeek(),q}function le(d,g){const B=d.currentChar();return B===ko?ko:g(B)?(d.next(),B):null}function G(d){const g=d.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function N(d){return le(d,G)}function F(d){const g=d.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function T(d){return le(d,F)}function W(d){const g=d.charCodeAt(0);return g>=48&&g<=57}function he(d){return le(d,W)}function Z(d){const g=d.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function re(d){return le(d,Z)}function de(d){let g="",B="";for(;g=he(d);)B+=g;return B}function Ae(d){S(d);const g=d.currentChar();return g!=="%"&&m(Se.EXPECTED_TOKEN,a(),0,g),d.next(),"%"}function Ie(d){let g="";for(;;){const B=d.currentChar();if(B==="{"||B==="}"||B==="@"||B==="|"||!B)break;if(B==="%")if(Q(d))g+=B,d.next();else break;else if(B===co||B===_t)if(Q(d))g+=B,d.next();else{if(R(d))break;g+=B,d.next()}else g+=B,d.next()}return g}function ye(d){S(d);let g="",B="";for(;g=T(d);)B+=g;return d.currentChar()===ko&&m(Se.UNTERMINATED_CLOSING_BRACE,a(),0),B}function Ee(d){S(d);let g="";return d.currentChar()==="-"?(d.next(),g+=`-${de(d)}`):g+=de(d),d.currentChar()===ko&&m(Se.UNTERMINATED_CLOSING_BRACE,a(),0),g}function Oe(d){return d!==jl&&d!==_t}function ne(d){S(d),A(d,"'");let g="",B="";for(;g=le(d,Oe);)g==="\\"?B+=ae(d):B+=g;const q=d.currentChar();return q===_t||q===ko?(m(Se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),q===_t&&(d.next(),A(d,"'")),B):(A(d,"'"),B)}function ae(d){const g=d.currentChar();switch(g){case"\\":case"'":return d.next(),`\\${g}`;case"u":return ge(d,g,4);case"U":return ge(d,g,6);default:return m(Se.UNKNOWN_ESCAPE_SEQUENCE,a(),0,g),""}}function ge(d,g,B){A(d,g);let q="";for(let ie=0;ie{const q=d.currentChar();return q==="{"||q==="%"||q==="@"||q==="|"||q==="("||q===")"||!q||q===co?B:(B+=q,d.next(),g(B))};return g("")}function D(d){S(d);const g=A(d,"|");return S(d),g}function z(d,g){let B=null;switch(d.currentChar()){case"{":return g.braceNest>=1&&m(Se.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),d.next(),B=h(g,2,"{"),S(d),g.braceNest++,B;case"}":return g.braceNest>0&&g.currentType===2&&m(Se.EMPTY_PLACEHOLDER,a(),0),d.next(),B=h(g,3,"}"),g.braceNest--,g.braceNest>0&&S(d),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),B;case"@":return g.braceNest>0&&m(Se.UNTERMINATED_CLOSING_BRACE,a(),0),B=I(d,g)||L(g),g.braceNest=0,B;default:{let ie=!0,ee=!0,U=!0;if(R(d))return g.braceNest>0&&m(Se.UNTERMINATED_CLOSING_BRACE,a(),0),B=h(g,1,D(d)),g.braceNest=0,g.inLinked=!1,B;if(g.braceNest>0&&(g.currentType===5||g.currentType===6||g.currentType===7))return m(Se.UNTERMINATED_CLOSING_BRACE,a(),0),g.braceNest=0,K(d,g);if(ie=f(d,g))return B=h(g,5,ye(d)),S(d),B;if(ee=b(d,g))return B=h(g,6,Ee(d)),S(d),B;if(U=_(d,g))return B=h(g,7,ne(d)),S(d),B;if(!ie&&!ee&&!U)return B=h(g,13,y(d)),m(Se.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,B.value),S(d),B;break}}return B}function I(d,g){const{currentType:B}=g;let q=null;const ie=d.currentChar();switch((B===8||B===9||B===12||B===10)&&(ie===_t||ie===co)&&m(Se.INVALID_LINKED_FORMAT,a(),0),ie){case"@":return d.next(),q=h(g,8,"@"),g.inLinked=!0,q;case".":return S(d),d.next(),h(g,9,".");case":":return S(d),d.next(),h(g,10,":");default:return R(d)?(q=h(g,1,D(d)),g.braceNest=0,g.inLinked=!1,q):E(d,g)||P(d,g)?(S(d),I(d,g)):M(d,g)?(S(d),h(g,12,$(d))):x(d,g)?(S(d),ie==="{"?z(d,g)||q:h(g,11,C(d))):(B===8&&m(Se.INVALID_LINKED_FORMAT,a(),0),g.braceNest=0,g.inLinked=!1,K(d,g))}}function K(d,g){let B={type:14};if(g.braceNest>0)return z(d,g)||L(g);if(g.inLinked)return I(d,g)||L(g);switch(d.currentChar()){case"{":return z(d,g)||L(g);case"}":return m(Se.UNBALANCED_CLOSING_BRACE,a(),0),d.next(),h(g,3,"}");case"@":return I(d,g)||L(g);default:{if(R(d))return B=h(g,1,D(d)),g.braceNest=0,g.inLinked=!1,B;const{isModulo:ie,hasSpace:ee}=J(d);if(ie)return ee?h(g,0,Ie(d)):h(g,4,Ae(d));if(Q(d))return h(g,0,Ie(d));break}}return B}function H(){const{currentType:d,offset:g,startLoc:B,endLoc:q}=l;return l.lastType=d,l.lastOffset=g,l.lastStartLoc=B,l.lastEndLoc=q,l.offset=s(),l.startLoc=a(),n.currentChar()===ko?h(l,14):K(n,l)}return{nextToken:H,currentOffset:s,currentPosition:a,context:c}}const zh="parser",Uh=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Gh(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 Kh(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function s(f,b,_,E,...M){const P=f.currentPosition();if(P.offset+=E,P.column+=E,o){const x=t?Ta(_,P):null,R=tn(b,x,{domain:zh,args:M});o(R)}}function a(f,b,_,E,...M){const P=f.currentPosition();if(P.offset+=E,P.column+=E,n){const x=t?Ta(_,P):null;n(Ph(b,x,M))}}function r(f,b,_){const E={type:f};return t&&(E.start=b,E.end=b,E.loc={start:_,end:_}),E}function i(f,b,_,E){t&&(f.end=b,f.loc&&(f.loc.end=_))}function l(f,b){const _=f.context(),E=r(3,_.offset,_.startLoc);return E.value=b,i(E,f.currentOffset(),f.currentPosition()),E}function c(f,b){const _=f.context(),{lastOffset:E,lastStartLoc:M}=_,P=r(5,E,M);return P.index=parseInt(b,10),f.nextToken(),i(P,f.currentOffset(),f.currentPosition()),P}function u(f,b,_){const E=f.context(),{lastOffset:M,lastStartLoc:P}=E,x=r(4,M,P);return x.key=b,_===!0&&(x.modulo=!0),f.nextToken(),i(x,f.currentOffset(),f.currentPosition()),x}function m(f,b){const _=f.context(),{lastOffset:E,lastStartLoc:M}=_,P=r(9,E,M);return P.value=b.replace(Uh,Gh),f.nextToken(),i(P,f.currentOffset(),f.currentPosition()),P}function h(f){const b=f.nextToken(),_=f.context(),{lastOffset:E,lastStartLoc:M}=_,P=r(8,E,M);return b.type!==12?(s(f,Se.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),P.value="",i(P,E,M),{nextConsumeToken:b,node:P}):(b.value==null&&s(f,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Rt(b)),P.value=b.value||"",i(P,f.currentOffset(),f.currentPosition()),{node:P})}function L(f,b){const _=f.context(),E=r(7,_.offset,_.startLoc);return E.value=b,i(E,f.currentOffset(),f.currentPosition()),E}function A(f){const b=f.context(),_=r(6,b.offset,b.startLoc);let E=f.nextToken();if(E.type===9){const M=h(f);_.modifier=M.node,E=M.nextConsumeToken||f.nextToken()}switch(E.type!==10&&s(f,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(E)),E=f.nextToken(),E.type===2&&(E=f.nextToken()),E.type){case 11:E.value==null&&s(f,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(E)),_.key=L(f,E.value||"");break;case 5:E.value==null&&s(f,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(E)),_.key=u(f,E.value||"");break;case 6:E.value==null&&s(f,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(E)),_.key=c(f,E.value||"");break;case 7:E.value==null&&s(f,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(E)),_.key=m(f,E.value||"");break;default:{s(f,Se.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const M=f.context(),P=r(7,M.offset,M.startLoc);return P.value="",i(P,M.offset,M.startLoc),_.key=P,i(_,M.offset,M.startLoc),{nextConsumeToken:E,node:_}}}return i(_,f.currentOffset(),f.currentPosition()),{node:_}}function p(f){const b=f.context(),_=b.currentType===1?f.currentOffset():b.offset,E=b.currentType===1?b.endLoc:b.startLoc,M=r(2,_,E);M.items=[];let P=null,x=null;do{const Q=P||f.nextToken();switch(P=null,Q.type){case 0:Q.value==null&&s(f,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(Q)),M.items.push(l(f,Q.value||""));break;case 6:Q.value==null&&s(f,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(Q)),M.items.push(c(f,Q.value||""));break;case 4:x=!0;break;case 5:Q.value==null&&s(f,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(Q)),M.items.push(u(f,Q.value||"",!!x)),x&&(a(f,Os.USE_MODULO_SYNTAX,b.lastStartLoc,0,Rt(Q)),x=null);break;case 7:Q.value==null&&s(f,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(Q)),M.items.push(m(f,Q.value||""));break;case 8:{const le=A(f);M.items.push(le.node),P=le.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const R=b.currentType===1?b.lastOffset:f.currentOffset(),J=b.currentType===1?b.lastEndLoc:f.currentPosition();return i(M,R,J),M}function S(f,b,_,E){const M=f.context();let P=E.items.length===0;const x=r(1,b,_);x.cases=[],x.cases.push(E);do{const R=p(f);P||(P=R.items.length===0),x.cases.push(R)}while(M.currentType!==14);return P&&s(f,Se.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),i(x,f.currentOffset(),f.currentPosition()),x}function v(f){const b=f.context(),{offset:_,startLoc:E}=b,M=p(f);return b.currentType===14?M:S(f,_,E,M)}function w(f){const b=jh(f,Dl({},e)),_=b.context(),E=r(0,_.offset,_.startLoc);return t&&E.loc&&(E.loc.source=f),E.body=v(b),e.onCacheKey&&(E.cacheKey=e.onCacheKey(f)),_.currentType!==14&&s(b,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,f[_.offset]||""),i(E,b.currentOffset(),b.currentPosition()),E}return{parse:w}}function Rt(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 Hh(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:a=>(o.helpers.add(a),a)}}function zl(e,t){for(let o=0;oUl(o)),e}function Ul(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;or;function l(p,S){r.code+=p}function c(p,S=!0){const v=S?n:"";l(s?v+" ".repeat(p):v)}function u(p=!0){const S=++r.indentLevel;p&&c(S)}function m(p=!0){const S=--r.indentLevel;p&&c(S)}function h(){c(r.indentLevel)}return{context:i,push:l,indent:u,deindent:m,newline:h,helper:p=>`_${p}`,needIndent:()=>r.needIndent}}function Xh(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),nn(e,t.key),t.modifier?(e.push(", "),nn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Zh(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const s=t.items.length;for(let a=0;a1){e.push(`${o("plural")}([`),e.indent(n());const s=t.cases.length;for(let a=0;a{const o=Ol(t.mode)?t.mode:"normal",n=Ol(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` -`,a=t.needIndent?t.needIndent:o!=="arrow",r=e.helpers||[],i=Jh(e,{filename:n,breakLineCode:s,needIndent:a});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(a),r.length>0&&(i.push(`const { ${Bl(r.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),nn(i,e),i.deindent(a),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function om(e,t={}){const o=Dl({},t),n=!!o.jit,s=!!o.minify,a=o.optimize==null?!0:o.optimize,i=Kh(o).parse(e);return n?(a&&Wh(i),s&&on(i),{ast:i,code:""}):(qh(i,o),tm(i,o))}/*! + */function Lh(e,t,o){return{line:e,column:t,offset:o}}function $a(e,t,o){return{start:e,end:t}}const Eh=/\{([0-9a-zA-Z]+)\}/g;function Fl(e,...t){return t.length===1&&Ch(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Eh,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const Rl=Object.assign,Dl=e=>typeof e=="string",Ch=e=>e!==null&&typeof e=="object";function Ol(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}const Ds={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},$h={[Ds.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Th(e,t,...o){const n=Fl($h[e],...o||[]),s={message:String(n),code:e};return t&&(s.location=t),s}const Se={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},Ph={[Se.EXPECTED_TOKEN]:"Expected token: '{0}'",[Se.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Se.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Se.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Se.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Se.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Se.EMPTY_PLACEHOLDER]:"Empty placeholder",[Se.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Se.INVALID_LINKED_FORMAT]:"Invalid linked format",[Se.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Se.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Se.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Se.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Se.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Se.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function en(e,t,o={}){const{domain:n,messages:s,args:a}=o,r=Fl((s||Ph)[e]||"",...a||[]),i=new SyntaxError(String(r));return i.code=e,t&&(i.location=t),i.domain=n,i}function Nh(e){throw e}const co=" ",Ih="\r",_t=` +`,Mh="\u2028",Fh="\u2029";function Rh(e){const t=e;let o=0,n=1,s=1,a=0;const r=M=>t[M]===Ih&&t[M+1]===_t,i=M=>t[M]===_t,l=M=>t[M]===Fh,c=M=>t[M]===Mh,u=M=>r(M)||i(M)||l(M)||c(M),m=()=>o,h=()=>n,L=()=>s,A=()=>a,f=M=>r(M)||l(M)||c(M)?_t:t[M],S=()=>f(o),v=()=>f(o+a);function w(){return a=0,u(o)&&(n++,s=0),r(o)&&o++,o++,s++,t[o]}function p(){return r(o+a)&&a++,a++,t[o+a]}function b(){o=0,n=1,s=1,a=0}function _(M=0){a=M}function E(){const M=o+a;for(;M!==o;)w();a=0}return{index:m,line:h,column:L,peekOffset:A,charAt:f,currentChar:S,currentPeek:v,next:w,peek:p,reset:b,resetPeek:_,skipToPeek:E}}const ko=void 0,Dh=".",Bl="'",Oh="tokenizer";function Bh(e,t={}){const o=t.location!==!1,n=Rh(e),s=()=>n.index(),a=()=>Lh(n.line(),n.column(),n.index()),r=a(),i=s(),l={currentType:14,offset:i,startLoc:r,endLoc:r,lastType:14,lastOffset:i,lastStartLoc:r,lastEndLoc:r,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function m(d,g,B,...q){const ie=c();if(g.column+=B,g.offset+=B,u){const ee=o?$a(ie.startLoc,g):null,U=en(d,ee,{domain:Oh,args:q});u(U)}}function h(d,g,B){d.endLoc=a(),d.currentType=g;const q={type:g};return o&&(q.loc=$a(d.startLoc,d.endLoc)),B!=null&&(q.value=B),q}const L=d=>h(d,14);function A(d,g){return d.currentChar()===g?(d.next(),g):(m(Se.EXPECTED_TOKEN,a(),0,g),"")}function f(d){let g="";for(;d.currentPeek()===co||d.currentPeek()===_t;)g+=d.currentPeek(),d.peek();return g}function S(d){const g=f(d);return d.skipToPeek(),g}function v(d){if(d===ko)return!1;const g=d.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function w(d){if(d===ko)return!1;const g=d.charCodeAt(0);return g>=48&&g<=57}function p(d,g){const{currentType:B}=g;if(B!==2)return!1;f(d);const q=v(d.currentPeek());return d.resetPeek(),q}function b(d,g){const{currentType:B}=g;if(B!==2)return!1;f(d);const q=d.currentPeek()==="-"?d.peek():d.currentPeek(),ie=w(q);return d.resetPeek(),ie}function _(d,g){const{currentType:B}=g;if(B!==2)return!1;f(d);const q=d.currentPeek()===Bl;return d.resetPeek(),q}function E(d,g){const{currentType:B}=g;if(B!==8)return!1;f(d);const q=d.currentPeek()===".";return d.resetPeek(),q}function M(d,g){const{currentType:B}=g;if(B!==9)return!1;f(d);const q=v(d.currentPeek());return d.resetPeek(),q}function P(d,g){const{currentType:B}=g;if(!(B===8||B===12))return!1;f(d);const q=d.currentPeek()===":";return d.resetPeek(),q}function x(d,g){const{currentType:B}=g;if(B!==10)return!1;const q=()=>{const ee=d.currentPeek();return ee==="{"?v(d.peek()):ee==="@"||ee==="%"||ee==="|"||ee===":"||ee==="."||ee===co||!ee?!1:ee===_t?(d.peek(),q()):Q(d,!1)},ie=q();return d.resetPeek(),ie}function R(d){f(d);const g=d.currentPeek()==="|";return d.resetPeek(),g}function J(d){const g=f(d),B=d.currentPeek()==="%"&&d.peek()==="{";return d.resetPeek(),{isModulo:B,hasSpace:g.length>0}}function Q(d,g=!0){const B=(ie=!1,ee="",U=!1)=>{const k=d.currentPeek();return k==="{"?ee==="%"?!1:ie:k==="@"||!k?ee==="%"?!0:ie:k==="%"?(d.peek(),B(ie,"%",!0)):k==="|"?ee==="%"||U?!0:!(ee===co||ee===_t):k===co?(d.peek(),B(!0,co,U)):k===_t?(d.peek(),B(!0,_t,U)):!0},q=B();return g&&d.resetPeek(),q}function le(d,g){const B=d.currentChar();return B===ko?ko:g(B)?(d.next(),B):null}function G(d){const g=d.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function N(d){return le(d,G)}function F(d){const g=d.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function T(d){return le(d,F)}function W(d){const g=d.charCodeAt(0);return g>=48&&g<=57}function he(d){return le(d,W)}function X(d){const g=d.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function re(d){return le(d,X)}function de(d){let g="",B="";for(;g=he(d);)B+=g;return B}function Ae(d){S(d);const g=d.currentChar();return g!=="%"&&m(Se.EXPECTED_TOKEN,a(),0,g),d.next(),"%"}function Ie(d){let g="";for(;;){const B=d.currentChar();if(B==="{"||B==="}"||B==="@"||B==="|"||!B)break;if(B==="%")if(Q(d))g+=B,d.next();else break;else if(B===co||B===_t)if(Q(d))g+=B,d.next();else{if(R(d))break;g+=B,d.next()}else g+=B,d.next()}return g}function ye(d){S(d);let g="",B="";for(;g=T(d);)B+=g;return d.currentChar()===ko&&m(Se.UNTERMINATED_CLOSING_BRACE,a(),0),B}function $e(d){S(d);let g="";return d.currentChar()==="-"?(d.next(),g+=`-${de(d)}`):g+=de(d),d.currentChar()===ko&&m(Se.UNTERMINATED_CLOSING_BRACE,a(),0),g}function Oe(d){return d!==Bl&&d!==_t}function ne(d){S(d),A(d,"'");let g="",B="";for(;g=le(d,Oe);)g==="\\"?B+=ae(d):B+=g;const q=d.currentChar();return q===_t||q===ko?(m(Se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),q===_t&&(d.next(),A(d,"'")),B):(A(d,"'"),B)}function ae(d){const g=d.currentChar();switch(g){case"\\":case"'":return d.next(),`\\${g}`;case"u":return ge(d,g,4);case"U":return ge(d,g,6);default:return m(Se.UNKNOWN_ESCAPE_SEQUENCE,a(),0,g),""}}function ge(d,g,B){A(d,g);let q="";for(let ie=0;ie{const q=d.currentChar();return q==="{"||q==="%"||q==="@"||q==="|"||q==="("||q===")"||!q||q===co?B:(B+=q,d.next(),g(B))};return g("")}function D(d){S(d);const g=A(d,"|");return S(d),g}function z(d,g){let B=null;switch(d.currentChar()){case"{":return g.braceNest>=1&&m(Se.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),d.next(),B=h(g,2,"{"),S(d),g.braceNest++,B;case"}":return g.braceNest>0&&g.currentType===2&&m(Se.EMPTY_PLACEHOLDER,a(),0),d.next(),B=h(g,3,"}"),g.braceNest--,g.braceNest>0&&S(d),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),B;case"@":return g.braceNest>0&&m(Se.UNTERMINATED_CLOSING_BRACE,a(),0),B=I(d,g)||L(g),g.braceNest=0,B;default:{let ie=!0,ee=!0,U=!0;if(R(d))return g.braceNest>0&&m(Se.UNTERMINATED_CLOSING_BRACE,a(),0),B=h(g,1,D(d)),g.braceNest=0,g.inLinked=!1,B;if(g.braceNest>0&&(g.currentType===5||g.currentType===6||g.currentType===7))return m(Se.UNTERMINATED_CLOSING_BRACE,a(),0),g.braceNest=0,K(d,g);if(ie=p(d,g))return B=h(g,5,ye(d)),S(d),B;if(ee=b(d,g))return B=h(g,6,$e(d)),S(d),B;if(U=_(d,g))return B=h(g,7,ne(d)),S(d),B;if(!ie&&!ee&&!U)return B=h(g,13,y(d)),m(Se.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,B.value),S(d),B;break}}return B}function I(d,g){const{currentType:B}=g;let q=null;const ie=d.currentChar();switch((B===8||B===9||B===12||B===10)&&(ie===_t||ie===co)&&m(Se.INVALID_LINKED_FORMAT,a(),0),ie){case"@":return d.next(),q=h(g,8,"@"),g.inLinked=!0,q;case".":return S(d),d.next(),h(g,9,".");case":":return S(d),d.next(),h(g,10,":");default:return R(d)?(q=h(g,1,D(d)),g.braceNest=0,g.inLinked=!1,q):E(d,g)||P(d,g)?(S(d),I(d,g)):M(d,g)?(S(d),h(g,12,$(d))):x(d,g)?(S(d),ie==="{"?z(d,g)||q:h(g,11,C(d))):(B===8&&m(Se.INVALID_LINKED_FORMAT,a(),0),g.braceNest=0,g.inLinked=!1,K(d,g))}}function K(d,g){let B={type:14};if(g.braceNest>0)return z(d,g)||L(g);if(g.inLinked)return I(d,g)||L(g);switch(d.currentChar()){case"{":return z(d,g)||L(g);case"}":return m(Se.UNBALANCED_CLOSING_BRACE,a(),0),d.next(),h(g,3,"}");case"@":return I(d,g)||L(g);default:{if(R(d))return B=h(g,1,D(d)),g.braceNest=0,g.inLinked=!1,B;const{isModulo:ie,hasSpace:ee}=J(d);if(ie)return ee?h(g,0,Ie(d)):h(g,4,Ae(d));if(Q(d))return h(g,0,Ie(d));break}}return B}function H(){const{currentType:d,offset:g,startLoc:B,endLoc:q}=l;return l.lastType=d,l.lastOffset=g,l.lastStartLoc=B,l.lastEndLoc=q,l.offset=s(),l.startLoc=a(),n.currentChar()===ko?h(l,14):K(n,l)}return{nextToken:H,currentOffset:s,currentPosition:a,context:c}}const jh="parser",zh=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Uh(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 Gh(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function s(p,b,_,E,...M){const P=p.currentPosition();if(P.offset+=E,P.column+=E,o){const x=t?$a(_,P):null,R=en(b,x,{domain:jh,args:M});o(R)}}function a(p,b,_,E,...M){const P=p.currentPosition();if(P.offset+=E,P.column+=E,n){const x=t?$a(_,P):null;n(Th(b,x,M))}}function r(p,b,_){const E={type:p};return t&&(E.start=b,E.end=b,E.loc={start:_,end:_}),E}function i(p,b,_,E){t&&(p.end=b,p.loc&&(p.loc.end=_))}function l(p,b){const _=p.context(),E=r(3,_.offset,_.startLoc);return E.value=b,i(E,p.currentOffset(),p.currentPosition()),E}function c(p,b){const _=p.context(),{lastOffset:E,lastStartLoc:M}=_,P=r(5,E,M);return P.index=parseInt(b,10),p.nextToken(),i(P,p.currentOffset(),p.currentPosition()),P}function u(p,b,_){const E=p.context(),{lastOffset:M,lastStartLoc:P}=E,x=r(4,M,P);return x.key=b,_===!0&&(x.modulo=!0),p.nextToken(),i(x,p.currentOffset(),p.currentPosition()),x}function m(p,b){const _=p.context(),{lastOffset:E,lastStartLoc:M}=_,P=r(9,E,M);return P.value=b.replace(zh,Uh),p.nextToken(),i(P,p.currentOffset(),p.currentPosition()),P}function h(p){const b=p.nextToken(),_=p.context(),{lastOffset:E,lastStartLoc:M}=_,P=r(8,E,M);return b.type!==12?(s(p,Se.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),P.value="",i(P,E,M),{nextConsumeToken:b,node:P}):(b.value==null&&s(p,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Rt(b)),P.value=b.value||"",i(P,p.currentOffset(),p.currentPosition()),{node:P})}function L(p,b){const _=p.context(),E=r(7,_.offset,_.startLoc);return E.value=b,i(E,p.currentOffset(),p.currentPosition()),E}function A(p){const b=p.context(),_=r(6,b.offset,b.startLoc);let E=p.nextToken();if(E.type===9){const M=h(p);_.modifier=M.node,E=M.nextConsumeToken||p.nextToken()}switch(E.type!==10&&s(p,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(E)),E=p.nextToken(),E.type===2&&(E=p.nextToken()),E.type){case 11:E.value==null&&s(p,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(E)),_.key=L(p,E.value||"");break;case 5:E.value==null&&s(p,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(E)),_.key=u(p,E.value||"");break;case 6:E.value==null&&s(p,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(E)),_.key=c(p,E.value||"");break;case 7:E.value==null&&s(p,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(E)),_.key=m(p,E.value||"");break;default:{s(p,Se.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const M=p.context(),P=r(7,M.offset,M.startLoc);return P.value="",i(P,M.offset,M.startLoc),_.key=P,i(_,M.offset,M.startLoc),{nextConsumeToken:E,node:_}}}return i(_,p.currentOffset(),p.currentPosition()),{node:_}}function f(p){const b=p.context(),_=b.currentType===1?p.currentOffset():b.offset,E=b.currentType===1?b.endLoc:b.startLoc,M=r(2,_,E);M.items=[];let P=null,x=null;do{const Q=P||p.nextToken();switch(P=null,Q.type){case 0:Q.value==null&&s(p,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(Q)),M.items.push(l(p,Q.value||""));break;case 6:Q.value==null&&s(p,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(Q)),M.items.push(c(p,Q.value||""));break;case 4:x=!0;break;case 5:Q.value==null&&s(p,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(Q)),M.items.push(u(p,Q.value||"",!!x)),x&&(a(p,Ds.USE_MODULO_SYNTAX,b.lastStartLoc,0,Rt(Q)),x=null);break;case 7:Q.value==null&&s(p,Se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Rt(Q)),M.items.push(m(p,Q.value||""));break;case 8:{const le=A(p);M.items.push(le.node),P=le.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const R=b.currentType===1?b.lastOffset:p.currentOffset(),J=b.currentType===1?b.lastEndLoc:p.currentPosition();return i(M,R,J),M}function S(p,b,_,E){const M=p.context();let P=E.items.length===0;const x=r(1,b,_);x.cases=[],x.cases.push(E);do{const R=f(p);P||(P=R.items.length===0),x.cases.push(R)}while(M.currentType!==14);return P&&s(p,Se.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),i(x,p.currentOffset(),p.currentPosition()),x}function v(p){const b=p.context(),{offset:_,startLoc:E}=b,M=f(p);return b.currentType===14?M:S(p,_,E,M)}function w(p){const b=Bh(p,Rl({},e)),_=b.context(),E=r(0,_.offset,_.startLoc);return t&&E.loc&&(E.loc.source=p),E.body=v(b),e.onCacheKey&&(E.cacheKey=e.onCacheKey(p)),_.currentType!==14&&s(b,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,p[_.offset]||""),i(E,b.currentOffset(),b.currentPosition()),E}return{parse:w}}function Rt(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 Kh(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:a=>(o.helpers.add(a),a)}}function jl(e,t){for(let o=0;ozl(o)),e}function zl(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;or;function l(f,S){r.code+=f}function c(f,S=!0){const v=S?n:"";l(s?v+" ".repeat(f):v)}function u(f=!0){const S=++r.indentLevel;f&&c(S)}function m(f=!0){const S=--r.indentLevel;f&&c(S)}function h(){c(r.indentLevel)}return{context:i,push:l,indent:u,deindent:m,newline:h,helper:f=>`_${f}`,needIndent:()=>r.needIndent}}function Jh(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),on(e,t.key),t.modifier?(e.push(", "),on(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Xh(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const s=t.items.length;for(let a=0;a1){e.push(`${o("plural")}([`),e.indent(n());const s=t.cases.length;for(let a=0;a{const o=Dl(t.mode)?t.mode:"normal",n=Dl(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` +`,a=t.needIndent?t.needIndent:o!=="arrow",r=e.helpers||[],i=Yh(e,{filename:n,breakLineCode:s,needIndent:a});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(a),r.length>0&&(i.push(`const { ${Ol(r.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),on(i,e),i.deindent(a),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function tm(e,t={}){const o=Rl({},t),n=!!o.jit,s=!!o.minify,a=o.optimize==null?!0:o.optimize,i=Gh(o).parse(e);return n?(a&&qh(i),s&&tn(i),{ast:i,code:""}):(Hh(i,o),em(i,o))}/*! * core-base v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function nm(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(lo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(lo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(lo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Yt(e){return Be(e)&&js(e)===0&&(Ft(e,"b")||Ft(e,"body"))}const Gl=["b","body"];function am(e){return wo(e,Gl)}const Kl=["c","cases"];function sm(e){return wo(e,Kl,[])}const Hl=["s","static"];function rm(e){return wo(e,Hl)}const ql=["i","items"];function im(e){return wo(e,ql,[])}const Wl=["t","type"];function js(e){return wo(e,Wl)}const Vl=["v","value"];function Pa(e,t){const o=wo(e,Vl);if(o!=null)return o;throw Fn(t)}const Yl=["m","modifier"];function lm(e){return wo(e,Yl)}const Jl=["k","key"];function cm(e){const t=wo(e,Jl);if(t)return t;throw Fn(6)}function wo(e,t,o){for(let n=0;n{r===void 0?r=i:r+=i},h[1]=()=>{r!==void 0&&(t.push(r),r=void 0)},h[2]=()=>{h[0](),s++},h[3]=()=>{if(s>0)s--,n=4,h[0]();else{if(s=0,r===void 0||(r=fm(r),r===!1))return!1;h[1]()}};function L(){const A=e[o+1];if(n===5&&A==="'"||n===6&&A==='"')return o++,i="\\"+A,h[0](),!0}for(;n!==null;)if(o++,a=e[o],!(a==="\\"&&L())){if(l=pm(a),m=xo[n],c=m[l]||m.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=h[c[1]],u&&(i=a,u()===!1))))return;if(n===7)return t}}const Zl=new Map;function mm(e,t){return Be(e)?e[t]:null}function bm(e,t){if(!Be(e))return null;let o=Zl.get(t);if(o||(o=hm(t),o&&Zl.set(t,o)),!o)return null;const n=o.length;let s=e,a=0;for(;ae,_m=e=>"",vm="text",km=e=>e.length===0?"":Lh(e),wm=Ah;function Ql(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function xm(e){const t=nt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(nt(e.named.count)||nt(e.named.n))?nt(e.named.count)?e.named.count:nt(e.named.n)?e.named.n:t:t}function Sm(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Am(e={}){const t=e.locale,o=xm(e),n=Be(e.pluralRules)&&fe(t)&&Ve(e.pluralRules[t])?e.pluralRules[t]:Ql,s=Be(e.pluralRules)&&fe(t)&&Ve(e.pluralRules[t])?Ql:void 0,a=v=>v[n(o,v.length,s)],r=e.list||[],i=v=>r[v],l=e.named||Ge();nt(e.pluralIndex)&&Sm(o,l);const c=v=>l[v];function u(v){const w=Ve(e.messages)?e.messages(v):Be(e.messages)?e.messages[v]:!1;return w||(e.parent?e.parent.message(v):_m)}const m=v=>e.modifiers?e.modifiers[v]:ym,h=Ce(e.processor)&&Ve(e.processor.normalize)?e.processor.normalize:km,L=Ce(e.processor)&&Ve(e.processor.interpolate)?e.processor.interpolate:wm,A=Ce(e.processor)&&fe(e.processor.type)?e.processor.type:vm,S={list:i,named:c,plural:a,linked:(v,...w)=>{const[f,b]=w;let _="text",E="";w.length===1?Be(f)?(E=f.modifier||E,_=f.type||_):fe(f)&&(E=f||E):w.length===2&&(fe(f)&&(E=f||E),fe(b)&&(_=b||_));const M=u(v)(S),P=_==="vnode"&&Ze(M)&&E?M[0]:M;return E?m(E)(P,_):P},message:u,type:A,interpolate:L,normalize:h,values:ft(Ge(),r,l)};return S}let Rn=null;function Lm(e){Rn=e}function Em(e,t,o){Rn&&Rn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const Cm=$m("function:translate");function $m(e){return t=>Rn&&Rn.emit(e,t)}const Tm=Os.__EXTEND_POINT__,Mo=Ea(Tm),Pm={FALLBACK_TO_TRANSLATE:Mo(),CANNOT_FORMAT_NUMBER:Mo(),FALLBACK_TO_NUMBER_FORMAT:Mo(),CANNOT_FORMAT_DATE:Mo(),FALLBACK_TO_DATE_FORMAT:Mo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Mo(),__EXTEND_POINT__:Mo()},ec=Se.__EXTEND_POINT__,Fo=Ea(ec),Dt={INVALID_ARGUMENT:ec,INVALID_DATE_ARGUMENT:Fo(),INVALID_ISO_DATE_ARGUMENT:Fo(),NOT_SUPPORT_NON_STRING_MESSAGE:Fo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Fo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Fo(),NOT_SUPPORT_LOCALE_TYPE:Fo(),__EXTEND_POINT__:Fo()};function Jt(e){return tn(e,null,void 0)}function zs(e,t){return t.locale!=null?tc(t.locale):tc(e.locale)}let Us;function tc(e){if(fe(e))return e;if(Ve(e)){if(e.resolvedOnce&&Us!=null)return Us;if(e.constructor.name==="Function"){const t=e();if(Sh(t))throw Jt(Dt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Us=t}else throw Jt(Dt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Jt(Dt.NOT_SUPPORT_LOCALE_TYPE)}function Nm(e,t,o){return[...new Set([o,...Ze(t)?t:Be(t)?Object.keys(t):fe(t)?[t]:[o]])]}function oc(e,t,o){const n=fe(o)?o:an,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let a=s.__localeChainCache.get(n);if(!a){a=[];let r=[o];for(;Ze(r);)r=nc(a,r,t);const i=Ze(t)||!Ce(t)?t:t.default?t.default:null;r=fe(i)?[i]:i,Ze(r)&&nc(a,r,!1),s.__localeChainCache.set(n,a)}return a}function nc(e,t,o){let n=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Rm(){return{upper:(e,t)=>t==="text"&&fe(e)?e.toUpperCase():t==="vnode"&&Be(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&fe(e)?e.toLowerCase():t==="vnode"&&Be(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&fe(e)?sc(e):t==="vnode"&&Be(e)&&"__v_isVNode"in e?sc(e.children):e}}let rc;function ic(e){rc=e}let lc;function Dm(e){lc=e}let cc;function Om(e){cc=e}let uc=null;const Bm=e=>{uc=e},jm=()=>uc;let dc=null;const gc=e=>{dc=e},zm=()=>dc;let pc=0;function Um(e={}){const t=Ve(e.onWarn)?e.onWarn:bh,o=fe(e.version)?e.version:Fm,n=fe(e.locale)||Ve(e.locale)?e.locale:an,s=Ve(n)?an:n,a=Ze(e.fallbackLocale)||Ce(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,r=Ce(e.messages)?e.messages:Gs(s),i=Ce(e.datetimeFormats)?e.datetimeFormats:Gs(s),l=Ce(e.numberFormats)?e.numberFormats:Gs(s),c=ft(Ge(),e.modifiers,Rm()),u=e.pluralRules||Ge(),m=Ve(e.missing)?e.missing:null,h=Ne(e.missingWarn)||vo(e.missingWarn)?e.missingWarn:!0,L=Ne(e.fallbackWarn)||vo(e.fallbackWarn)?e.fallbackWarn:!0,A=!!e.fallbackFormat,p=!!e.unresolving,S=Ve(e.postTranslation)?e.postTranslation:null,v=Ce(e.processor)?e.processor:null,w=Ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,f=!!e.escapeParameter,b=Ve(e.messageCompiler)?e.messageCompiler:rc,_=Ve(e.messageResolver)?e.messageResolver:lc||mm,E=Ve(e.localeFallbacker)?e.localeFallbacker:cc||Nm,M=Be(e.fallbackContext)?e.fallbackContext:void 0,P=e,x=Be(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,R=Be(P.__numberFormatters)?P.__numberFormatters:new Map,J=Be(P.__meta)?P.__meta:{};pc++;const Q={version:o,cid:pc,locale:n,fallbackLocale:a,messages:r,modifiers:c,pluralRules:u,missing:m,missingWarn:h,fallbackWarn:L,fallbackFormat:A,unresolving:p,postTranslation:S,processor:v,warnHtmlMessage:w,escapeParameter:f,messageCompiler:b,messageResolver:_,localeFallbacker:E,fallbackContext:M,onWarn:t,__meta:J};return Q.datetimeFormats=i,Q.numberFormats=l,Q.__datetimeFormatters=x,Q.__numberFormatters=R,__INTLIFY_PROD_DEVTOOLS__&&Em(Q,o,J),Q}const Gs=e=>({[e]:Ge()});function Ks(e,t,o,n,s){const{missing:a,onWarn:r}=e;if(a!==null){const i=a(e,o,t,s);return fe(i)?i:t}else return t}function Dn(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function Gm(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Km(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nHm(o,e)}function Hm(e,t){const o=am(t);if(o==null)throw Fn(0);if(js(o)===1){const a=sm(o);return e.plural(a.reduce((r,i)=>[...r,fc(e,i)],[]))}else return fc(e,o)}function fc(e,t){const o=rm(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=im(t).reduce((s,a)=>[...s,qs(e,a)],[]);return e.normalize(n)}}function qs(e,t){const o=js(t);switch(o){case 3:return Pa(t,o);case 9:return Pa(t,o);case 4:{const n=t;if(Ft(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Ft(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Fn(o)}case 5:{const n=t;if(Ft(n,"i")&&nt(n.i))return e.interpolate(e.list(n.i));if(Ft(n,"index")&&nt(n.index))return e.interpolate(e.list(n.index));throw Fn(o)}case 6:{const n=t,s=lm(n),a=cm(n);return e.linked(qs(e,a),s?qs(e,s):void 0,e.type)}case 7:return Pa(t,o);case 8:return Pa(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const hc=e=>e;let sn=Ge();function mc(e,t={}){let o=!1;const n=t.onError||Ih;return t.onError=s=>{o=!0,n(s)},{...om(e,t),detectError:o}}const qm=(e,t)=>{if(!fe(e))throw Jt(Dt.NOT_SUPPORT_NON_STRING_MESSAGE);{Ne(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||hc)(e),s=sn[n];if(s)return s;const{code:a,detectError:r}=mc(e,t),i=new Function(`return ${a}`)();return r?i:sn[n]=i}};function Wm(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&fe(e)){Ne(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||hc)(e),s=sn[n];if(s)return s;const{ast:a,detectError:r}=mc(e,{...t,location:!1,jit:!0}),i=Hs(a);return r?i:sn[n]=i}else{const o=e.cacheKey;if(o){const n=sn[o];return n||(sn[o]=Hs(e))}else return Hs(e)}}const bc=()=>"",Tt=e=>Ve(e);function yc(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:s,messageCompiler:a,fallbackLocale:r,messages:i}=e,[l,c]=Ws(...t),u=Ne(c.missingWarn)?c.missingWarn:e.missingWarn,m=Ne(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=Ne(c.escapeParameter)?c.escapeParameter:e.escapeParameter,L=!!c.resolvedMessage,A=fe(c.default)||Ne(c.default)?Ne(c.default)?a?l:()=>l:c.default:o?a?l:()=>l:"",p=o||A!=="",S=zs(e,c);h&&Vm(c);let[v,w,f]=L?[l,S,i[S]||Ge()]:_c(e,l,S,r,m,u),b=v,_=l;if(!L&&!(fe(b)||Yt(b)||Tt(b))&&p&&(b=A,_=b),!L&&(!(fe(b)||Yt(b)||Tt(b))||!fe(w)))return s?Na:l;let E=!1;const M=()=>{E=!0},P=Tt(b)?b:vc(e,l,w,b,_,M);if(E)return b;const x=Xm(e,w,f,c),R=Am(x),J=Ym(e,P,R);let Q=n?n(J,l):J;if(h&&fe(Q)&&(Q=wh(Q)),__INTLIFY_PROD_DEVTOOLS__){const le={timestamp:Date.now(),key:fe(l)?l:Tt(b)?b.key:"",locale:w||(Tt(b)?b.locale:""),format:fe(b)?b:Tt(b)?b.source:"",message:Q};le.meta=ft({},e.__meta,jm()||{}),Cm(le)}return Q}function Vm(e){Ze(e.list)?e.list=e.list.map(t=>fe(t)?Nl(t):t):Be(e.named)&&Object.keys(e.named).forEach(t=>{fe(e.named[t])&&(e.named[t]=Nl(e.named[t]))})}function _c(e,t,o,n,s,a){const{messages:r,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let m=Ge(),h,L=null;const A="translate";for(let p=0;pn;return c.locale=o,c.key=t,c}const l=r(n,Jm(e,o,s,n,i,a));return l.locale=o,l.key=t,l.source=n,l}function Ym(e,t,o){return t(o)}function Ws(...e){const[t,o,n]=e,s=Ge();if(!fe(t)&&!nt(t)&&!Tt(t)&&!Yt(t))throw Jt(Dt.INVALID_ARGUMENT);const a=nt(t)?String(t):(Tt(t),t);return nt(o)?s.plural=o:fe(o)?s.default=o:Ce(o)&&!La(o)?s.named=o:Ze(o)&&(s.list=o),nt(n)?s.plural=n:fe(n)?s.default=n:Ce(n)&&ft(s,n),[a,s]}function Jm(e,t,o,n,s,a){return{locale:t,key:o,warnHtmlMessage:s,onError:r=>{throw a&&a(r),r},onCacheKey:r=>yh(t,o,r)}}function Xm(e,t,o,n){const{modifiers:s,pluralRules:a,messageResolver:r,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,h={locale:t,modifiers:s,pluralRules:a,messages:L=>{let A=r(o,L);if(A==null&&u){const[,,p]=_c(u,L,t,i,l,c);A=r(p,L)}if(fe(A)||Yt(A)){let p=!1;const v=vc(e,L,t,A,L,()=>{p=!0});return p?bc:v}else return Tt(A)?A:bc}};return e.processor&&(h.processor=e.processor),n.list&&(h.list=n.list),n.named&&(h.named=n.named),nt(n.plural)&&(h.pluralIndex=n.plural),h}function kc(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:s,onWarn:a,localeFallbacker:r}=e,{__datetimeFormatters:i}=e,[l,c,u,m]=Vs(...t),h=Ne(u.missingWarn)?u.missingWarn:e.missingWarn;Ne(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const L=!!u.part,A=zs(e,u),p=r(e,s,A);if(!fe(l)||l==="")return new Intl.DateTimeFormat(A,m).format(c);let S={},v,w=null;const f="datetime format";for(let E=0;E{wc.includes(l)?r[l]=o[l]:a[l]=o[l]}),fe(n)?a.locale=n:Ce(n)&&(r=n),Ce(s)&&(r=s),[a.key||"",i,a,r]}function xc(e,t,o){const n=e;for(const s in o){const a=`${t}__${s}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function Sc(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:s,onWarn:a,localeFallbacker:r}=e,{__numberFormatters:i}=e,[l,c,u,m]=Ys(...t),h=Ne(u.missingWarn)?u.missingWarn:e.missingWarn;Ne(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const L=!!u.part,A=zs(e,u),p=r(e,s,A);if(!fe(l)||l==="")return new Intl.NumberFormat(A,m).format(c);let S={},v,w=null;const f="number format";for(let E=0;E{Ac.includes(l)?r[l]=o[l]:a[l]=o[l]}),fe(n)?a.locale=n:Ce(n)&&(r=n),Ce(s)&&(r=s),[a.key||"",i,a,r]}function Lc(e,t,o){const n=e;for(const s in o){const a=`${t}__${s}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}nm();/*! + */function om(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(lo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(lo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(lo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Yt(e){return Be(e)&&Bs(e)===0&&(Ft(e,"b")||Ft(e,"body"))}const Ul=["b","body"];function nm(e){return wo(e,Ul)}const Gl=["c","cases"];function am(e){return wo(e,Gl,[])}const Kl=["s","static"];function sm(e){return wo(e,Kl)}const Hl=["i","items"];function rm(e){return wo(e,Hl,[])}const ql=["t","type"];function Bs(e){return wo(e,ql)}const Wl=["v","value"];function Ta(e,t){const o=wo(e,Wl);if(o!=null)return o;throw Mn(t)}const Vl=["m","modifier"];function im(e){return wo(e,Vl)}const Yl=["k","key"];function lm(e){const t=wo(e,Yl);if(t)return t;throw Mn(6)}function wo(e,t,o){for(let n=0;n{r===void 0?r=i:r+=i},h[1]=()=>{r!==void 0&&(t.push(r),r=void 0)},h[2]=()=>{h[0](),s++},h[3]=()=>{if(s>0)s--,n=4,h[0]();else{if(s=0,r===void 0||(r=pm(r),r===!1))return!1;h[1]()}};function L(){const A=e[o+1];if(n===5&&A==="'"||n===6&&A==='"')return o++,i="\\"+A,h[0](),!0}for(;n!==null;)if(o++,a=e[o],!(a==="\\"&&L())){if(l=gm(a),m=xo[n],c=m[l]||m.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=h[c[1]],u&&(i=a,u()===!1))))return;if(n===7)return t}}const Xl=new Map;function hm(e,t){return Be(e)?e[t]:null}function mm(e,t){if(!Be(e))return null;let o=Xl.get(t);if(o||(o=fm(t),o&&Xl.set(t,o)),!o)return null;const n=o.length;let s=e,a=0;for(;ae,ym=e=>"",_m="text",vm=e=>e.length===0?"":Ah(e),km=Sh;function Zl(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function wm(e){const t=nt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(nt(e.named.count)||nt(e.named.n))?nt(e.named.count)?e.named.count:nt(e.named.n)?e.named.n:t:t}function xm(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Sm(e={}){const t=e.locale,o=wm(e),n=Be(e.pluralRules)&&fe(t)&&Ve(e.pluralRules[t])?e.pluralRules[t]:Zl,s=Be(e.pluralRules)&&fe(t)&&Ve(e.pluralRules[t])?Zl:void 0,a=v=>v[n(o,v.length,s)],r=e.list||[],i=v=>r[v],l=e.named||Ue();nt(e.pluralIndex)&&xm(o,l);const c=v=>l[v];function u(v){const w=Ve(e.messages)?e.messages(v):Be(e.messages)?e.messages[v]:!1;return w||(e.parent?e.parent.message(v):ym)}const m=v=>e.modifiers?e.modifiers[v]:bm,h=Ee(e.processor)&&Ve(e.processor.normalize)?e.processor.normalize:vm,L=Ee(e.processor)&&Ve(e.processor.interpolate)?e.processor.interpolate:km,A=Ee(e.processor)&&fe(e.processor.type)?e.processor.type:_m,S={list:i,named:c,plural:a,linked:(v,...w)=>{const[p,b]=w;let _="text",E="";w.length===1?Be(p)?(E=p.modifier||E,_=p.type||_):fe(p)&&(E=p||E):w.length===2&&(fe(p)&&(E=p||E),fe(b)&&(_=b||_));const M=u(v)(S),P=_==="vnode"&&Ze(M)&&E?M[0]:M;return E?m(E)(P,_):P},message:u,type:A,interpolate:L,normalize:h,values:ft(Ue(),r,l)};return S}let Fn=null;function Am(e){Fn=e}function Lm(e,t,o){Fn&&Fn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const Em=Cm("function:translate");function Cm(e){return t=>Fn&&Fn.emit(e,t)}const $m=Ds.__EXTEND_POINT__,Mo=La($m),Tm={FALLBACK_TO_TRANSLATE:Mo(),CANNOT_FORMAT_NUMBER:Mo(),FALLBACK_TO_NUMBER_FORMAT:Mo(),CANNOT_FORMAT_DATE:Mo(),FALLBACK_TO_DATE_FORMAT:Mo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Mo(),__EXTEND_POINT__:Mo()},Ql=Se.__EXTEND_POINT__,Fo=La(Ql),Dt={INVALID_ARGUMENT:Ql,INVALID_DATE_ARGUMENT:Fo(),INVALID_ISO_DATE_ARGUMENT:Fo(),NOT_SUPPORT_NON_STRING_MESSAGE:Fo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Fo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Fo(),NOT_SUPPORT_LOCALE_TYPE:Fo(),__EXTEND_POINT__:Fo()};function Jt(e){return en(e,null,void 0)}function js(e,t){return t.locale!=null?ec(t.locale):ec(e.locale)}let zs;function ec(e){if(fe(e))return e;if(Ve(e)){if(e.resolvedOnce&&zs!=null)return zs;if(e.constructor.name==="Function"){const t=e();if(xh(t))throw Jt(Dt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return zs=t}else throw Jt(Dt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Jt(Dt.NOT_SUPPORT_LOCALE_TYPE)}function Pm(e,t,o){return[...new Set([o,...Ze(t)?t:Be(t)?Object.keys(t):fe(t)?[t]:[o]])]}function tc(e,t,o){const n=fe(o)?o:nn,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let a=s.__localeChainCache.get(n);if(!a){a=[];let r=[o];for(;Ze(r);)r=oc(a,r,t);const i=Ze(t)||!Ee(t)?t:t.default?t.default:null;r=fe(i)?[i]:i,Ze(r)&&oc(a,r,!1),s.__localeChainCache.set(n,a)}return a}function oc(e,t,o){let n=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Fm(){return{upper:(e,t)=>t==="text"&&fe(e)?e.toUpperCase():t==="vnode"&&Be(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&fe(e)?e.toLowerCase():t==="vnode"&&Be(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&fe(e)?ac(e):t==="vnode"&&Be(e)&&"__v_isVNode"in e?ac(e.children):e}}let sc;function rc(e){sc=e}let ic;function Rm(e){ic=e}let lc;function Dm(e){lc=e}let cc=null;const Om=e=>{cc=e},Bm=()=>cc;let uc=null;const dc=e=>{uc=e},jm=()=>uc;let gc=0;function zm(e={}){const t=Ve(e.onWarn)?e.onWarn:mh,o=fe(e.version)?e.version:Mm,n=fe(e.locale)||Ve(e.locale)?e.locale:nn,s=Ve(n)?nn:n,a=Ze(e.fallbackLocale)||Ee(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,r=Ee(e.messages)?e.messages:Us(s),i=Ee(e.datetimeFormats)?e.datetimeFormats:Us(s),l=Ee(e.numberFormats)?e.numberFormats:Us(s),c=ft(Ue(),e.modifiers,Fm()),u=e.pluralRules||Ue(),m=Ve(e.missing)?e.missing:null,h=Ne(e.missingWarn)||vo(e.missingWarn)?e.missingWarn:!0,L=Ne(e.fallbackWarn)||vo(e.fallbackWarn)?e.fallbackWarn:!0,A=!!e.fallbackFormat,f=!!e.unresolving,S=Ve(e.postTranslation)?e.postTranslation:null,v=Ee(e.processor)?e.processor:null,w=Ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter,b=Ve(e.messageCompiler)?e.messageCompiler:sc,_=Ve(e.messageResolver)?e.messageResolver:ic||hm,E=Ve(e.localeFallbacker)?e.localeFallbacker:lc||Pm,M=Be(e.fallbackContext)?e.fallbackContext:void 0,P=e,x=Be(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,R=Be(P.__numberFormatters)?P.__numberFormatters:new Map,J=Be(P.__meta)?P.__meta:{};gc++;const Q={version:o,cid:gc,locale:n,fallbackLocale:a,messages:r,modifiers:c,pluralRules:u,missing:m,missingWarn:h,fallbackWarn:L,fallbackFormat:A,unresolving:f,postTranslation:S,processor:v,warnHtmlMessage:w,escapeParameter:p,messageCompiler:b,messageResolver:_,localeFallbacker:E,fallbackContext:M,onWarn:t,__meta:J};return Q.datetimeFormats=i,Q.numberFormats=l,Q.__datetimeFormatters=x,Q.__numberFormatters=R,__INTLIFY_PROD_DEVTOOLS__&&Lm(Q,o,J),Q}const Us=e=>({[e]:Ue()});function Gs(e,t,o,n,s){const{missing:a,onWarn:r}=e;if(a!==null){const i=a(e,o,t,s);return fe(i)?i:t}else return t}function Rn(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function Um(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Gm(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nKm(o,e)}function Km(e,t){const o=nm(t);if(o==null)throw Mn(0);if(Bs(o)===1){const a=am(o);return e.plural(a.reduce((r,i)=>[...r,pc(e,i)],[]))}else return pc(e,o)}function pc(e,t){const o=sm(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=rm(t).reduce((s,a)=>[...s,Hs(e,a)],[]);return e.normalize(n)}}function Hs(e,t){const o=Bs(t);switch(o){case 3:return Ta(t,o);case 9:return Ta(t,o);case 4:{const n=t;if(Ft(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Ft(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Mn(o)}case 5:{const n=t;if(Ft(n,"i")&&nt(n.i))return e.interpolate(e.list(n.i));if(Ft(n,"index")&&nt(n.index))return e.interpolate(e.list(n.index));throw Mn(o)}case 6:{const n=t,s=im(n),a=lm(n);return e.linked(Hs(e,a),s?Hs(e,s):void 0,e.type)}case 7:return Ta(t,o);case 8:return Ta(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const fc=e=>e;let an=Ue();function hc(e,t={}){let o=!1;const n=t.onError||Nh;return t.onError=s=>{o=!0,n(s)},{...tm(e,t),detectError:o}}const Hm=(e,t)=>{if(!fe(e))throw Jt(Dt.NOT_SUPPORT_NON_STRING_MESSAGE);{Ne(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||fc)(e),s=an[n];if(s)return s;const{code:a,detectError:r}=hc(e,t),i=new Function(`return ${a}`)();return r?i:an[n]=i}};function qm(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&fe(e)){Ne(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||fc)(e),s=an[n];if(s)return s;const{ast:a,detectError:r}=hc(e,{...t,location:!1,jit:!0}),i=Ks(a);return r?i:an[n]=i}else{const o=e.cacheKey;if(o){const n=an[o];return n||(an[o]=Ks(e))}else return Ks(e)}}const mc=()=>"",Tt=e=>Ve(e);function bc(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:s,messageCompiler:a,fallbackLocale:r,messages:i}=e,[l,c]=qs(...t),u=Ne(c.missingWarn)?c.missingWarn:e.missingWarn,m=Ne(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=Ne(c.escapeParameter)?c.escapeParameter:e.escapeParameter,L=!!c.resolvedMessage,A=fe(c.default)||Ne(c.default)?Ne(c.default)?a?l:()=>l:c.default:o?a?l:()=>l:"",f=o||A!=="",S=js(e,c);h&&Wm(c);let[v,w,p]=L?[l,S,i[S]||Ue()]:yc(e,l,S,r,m,u),b=v,_=l;if(!L&&!(fe(b)||Yt(b)||Tt(b))&&f&&(b=A,_=b),!L&&(!(fe(b)||Yt(b)||Tt(b))||!fe(w)))return s?Pa:l;let E=!1;const M=()=>{E=!0},P=Tt(b)?b:_c(e,l,w,b,_,M);if(E)return b;const x=Jm(e,w,p,c),R=Sm(x),J=Vm(e,P,R);let Q=n?n(J,l):J;if(h&&fe(Q)&&(Q=kh(Q)),__INTLIFY_PROD_DEVTOOLS__){const le={timestamp:Date.now(),key:fe(l)?l:Tt(b)?b.key:"",locale:w||(Tt(b)?b.locale:""),format:fe(b)?b:Tt(b)?b.source:"",message:Q};le.meta=ft({},e.__meta,Bm()||{}),Em(le)}return Q}function Wm(e){Ze(e.list)?e.list=e.list.map(t=>fe(t)?Pl(t):t):Be(e.named)&&Object.keys(e.named).forEach(t=>{fe(e.named[t])&&(e.named[t]=Pl(e.named[t]))})}function yc(e,t,o,n,s,a){const{messages:r,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let m=Ue(),h,L=null;const A="translate";for(let f=0;fn;return c.locale=o,c.key=t,c}const l=r(n,Ym(e,o,s,n,i,a));return l.locale=o,l.key=t,l.source=n,l}function Vm(e,t,o){return t(o)}function qs(...e){const[t,o,n]=e,s=Ue();if(!fe(t)&&!nt(t)&&!Tt(t)&&!Yt(t))throw Jt(Dt.INVALID_ARGUMENT);const a=nt(t)?String(t):(Tt(t),t);return nt(o)?s.plural=o:fe(o)?s.default=o:Ee(o)&&!Aa(o)?s.named=o:Ze(o)&&(s.list=o),nt(n)?s.plural=n:fe(n)?s.default=n:Ee(n)&&ft(s,n),[a,s]}function Ym(e,t,o,n,s,a){return{locale:t,key:o,warnHtmlMessage:s,onError:r=>{throw a&&a(r),r},onCacheKey:r=>bh(t,o,r)}}function Jm(e,t,o,n){const{modifiers:s,pluralRules:a,messageResolver:r,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,h={locale:t,modifiers:s,pluralRules:a,messages:L=>{let A=r(o,L);if(A==null&&u){const[,,f]=yc(u,L,t,i,l,c);A=r(f,L)}if(fe(A)||Yt(A)){let f=!1;const v=_c(e,L,t,A,L,()=>{f=!0});return f?mc:v}else return Tt(A)?A:mc}};return e.processor&&(h.processor=e.processor),n.list&&(h.list=n.list),n.named&&(h.named=n.named),nt(n.plural)&&(h.pluralIndex=n.plural),h}function vc(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:s,onWarn:a,localeFallbacker:r}=e,{__datetimeFormatters:i}=e,[l,c,u,m]=Ws(...t),h=Ne(u.missingWarn)?u.missingWarn:e.missingWarn;Ne(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const L=!!u.part,A=js(e,u),f=r(e,s,A);if(!fe(l)||l==="")return new Intl.DateTimeFormat(A,m).format(c);let S={},v,w=null;const p="datetime format";for(let E=0;E{kc.includes(l)?r[l]=o[l]:a[l]=o[l]}),fe(n)?a.locale=n:Ee(n)&&(r=n),Ee(s)&&(r=s),[a.key||"",i,a,r]}function wc(e,t,o){const n=e;for(const s in o){const a=`${t}__${s}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function xc(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:s,onWarn:a,localeFallbacker:r}=e,{__numberFormatters:i}=e,[l,c,u,m]=Vs(...t),h=Ne(u.missingWarn)?u.missingWarn:e.missingWarn;Ne(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const L=!!u.part,A=js(e,u),f=r(e,s,A);if(!fe(l)||l==="")return new Intl.NumberFormat(A,m).format(c);let S={},v,w=null;const p="number format";for(let E=0;E{Sc.includes(l)?r[l]=o[l]:a[l]=o[l]}),fe(n)?a.locale=n:Ee(n)&&(r=n),Ee(s)&&(r=s),[a.key||"",i,a,r]}function Ac(e,t,o){const n=e;for(const s in o){const a=`${t}__${s}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}om();/*! * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const Zm="9.14.5";function Qm(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(lo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(lo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(lo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(lo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(lo().__INTLIFY_PROD_DEVTOOLS__=!1)}const eb=Pm.__EXTEND_POINT__,uo=Ea(eb);uo(),uo(),uo(),uo(),uo(),uo(),uo(),uo(),uo();const Ec=Dt.__EXTEND_POINT__,wt=Ea(Ec),it={UNEXPECTED_RETURN_TYPE:Ec,INVALID_ARGUMENT:wt(),MUST_BE_CALL_SETUP_TOP:wt(),NOT_INSTALLED:wt(),NOT_AVAILABLE_IN_LEGACY_MODE:wt(),REQUIRED_VALUE:wt(),INVALID_VALUE:wt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:wt(),NOT_INSTALLED_WITH_PROVIDE:wt(),UNEXPECTED_ERROR:wt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:wt(),BRIDGE_SUPPORT_VUE_2_ONLY:wt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:wt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:wt(),__EXTEND_POINT__:wt()};function dt(e,...t){return tn(e,null,void 0)}const Js=_o("__translateVNode"),Xs=_o("__datetimeParts"),Zs=_o("__numberParts"),Cc=_o("__setPluralRules"),$c=_o("__injectWithOption"),Qs=_o("__dispose");function On(e){if(!Be(e)||Yt(e))return e;for(const t in e)if(Ft(e,t))if(!t.includes("."))Be(e[t])&&On(e[t]);else{const o=t.split("."),n=o.length-1;let s=e,a=!1;for(let r=0;r{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(r[l]=r[l]||Ge(),$a(c,r[l])):$a(c,r)}else fe(i)&&$a(JSON.parse(i),r)}),s==null&&a)for(const i in r)Ft(r,i)&&On(r[i]);return r}function Tc(e){return e.type}function Pc(e,t,o){let n=Be(t.messages)?t.messages:Ge();"__i18nGlobal"in o&&(n=Ia(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const s=Object.keys(n);s.length&&s.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(Be(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])})}if(Be(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(r=>{e.mergeNumberFormat(r,t.numberFormats[r])})}}}function Nc(e){return We(Ln,null,e,0)}const Ic="__INTLIFY_META__",Mc=()=>[],tb=()=>!1;let Fc=0;function Rc(e){return(t,o,n,s)=>e(o,n,ro()||void 0,s)}const ob=()=>{const e=ro();let t=null;return e&&(t=Tc(e)[Ic])?{[Ic]:t}:null};function er(e={},t){const{__root:o,__injectWithOption:n}=e,s=o===void 0,a=e.flatJson,r=Aa?me:ds,i=!!e.translateExistCompatible;let l=Ne(e.inheritLocale)?e.inheritLocale:!0;const c=r(o&&l?o.locale.value:fe(e.locale)?e.locale:an),u=r(o&&l?o.fallbackLocale.value:fe(e.fallbackLocale)||Ze(e.fallbackLocale)||Ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),m=r(Ia(c.value,e)),h=r(Ce(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),L=r(Ce(e.numberFormats)?e.numberFormats:{[c.value]:{}});let A=o?o.missingWarn:Ne(e.missingWarn)||vo(e.missingWarn)?e.missingWarn:!0,p=o?o.fallbackWarn:Ne(e.fallbackWarn)||vo(e.fallbackWarn)?e.fallbackWarn:!0,S=o?o.fallbackRoot:Ne(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,w=Ve(e.missing)?e.missing:null,f=Ve(e.missing)?Rc(e.missing):null,b=Ve(e.postTranslation)?e.postTranslation:null,_=o?o.warnHtmlMessage:Ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const M=o?o.modifiers:Ce(e.modifiers)?e.modifiers:{};let P=e.pluralRules||o&&o.pluralRules,x;x=(()=>{s&&gc(null);const U={version:Zm,locale:c.value,fallbackLocale:u.value,messages:m.value,modifiers:M,pluralRules:P,missing:f===null?void 0:f,missingWarn:A,fallbackWarn:p,fallbackFormat:v,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:_,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=h.value,U.numberFormats=L.value,U.__datetimeFormatters=Ce(x)?x.__datetimeFormatters:void 0,U.__numberFormatters=Ce(x)?x.__numberFormatters:void 0;const k=Um(U);return s&&gc(k),k})(),Dn(x,c.value,u.value);function J(){return[c.value,u.value,m.value,h.value,L.value]}const Q=Y({get:()=>c.value,set:U=>{c.value=U,x.locale=c.value}}),le=Y({get:()=>u.value,set:U=>{u.value=U,x.fallbackLocale=u.value,Dn(x,c.value,U)}}),G=Y(()=>m.value),N=Y(()=>h.value),F=Y(()=>L.value);function T(){return Ve(b)?b:null}function W(U){b=U,x.postTranslation=U}function he(){return w}function Z(U){U!==null&&(f=Rc(U)),w=U,x.missing=f}const re=(U,k,j,oe,ue,be)=>{J();let $e;try{__INTLIFY_PROD_DEVTOOLS__,s||(x.fallbackContext=o?zm():void 0),$e=U(x)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(x.fallbackContext=void 0)}if(j!=="translate exists"&&nt($e)&&$e===Na||j==="translate exists"&&!$e){const[we,et]=k();return o&&S?oe(o):ue(we)}else{if(be($e))return $e;throw dt(it.UNEXPECTED_RETURN_TYPE)}};function de(...U){return re(k=>Reflect.apply(yc,null,[k,...U]),()=>Ws(...U),"translate",k=>Reflect.apply(k.t,k,[...U]),k=>k,k=>fe(k))}function Ae(...U){const[k,j,oe]=U;if(oe&&!Be(oe))throw dt(it.INVALID_ARGUMENT);return de(k,j,ft({resolvedMessage:!0},oe||{}))}function Ie(...U){return re(k=>Reflect.apply(kc,null,[k,...U]),()=>Vs(...U),"datetime format",k=>Reflect.apply(k.d,k,[...U]),()=>ac,k=>fe(k))}function ye(...U){return re(k=>Reflect.apply(Sc,null,[k,...U]),()=>Ys(...U),"number format",k=>Reflect.apply(k.n,k,[...U]),()=>ac,k=>fe(k))}function Ee(U){return U.map(k=>fe(k)||nt(k)||Ne(k)?Nc(String(k)):k)}const ne={normalize:Ee,interpolate:U=>U,type:"vnode"};function ae(...U){return re(k=>{let j;const oe=k;try{oe.processor=ne,j=Reflect.apply(yc,null,[oe,...U])}finally{oe.processor=null}return j},()=>Ws(...U),"translate",k=>k[Js](...U),k=>[Nc(k)],k=>Ze(k))}function ge(...U){return re(k=>Reflect.apply(Sc,null,[k,...U]),()=>Ys(...U),"number format",k=>k[Zs](...U),Mc,k=>fe(k)||Ze(k))}function ke(...U){return re(k=>Reflect.apply(kc,null,[k,...U]),()=>Vs(...U),"datetime format",k=>k[Xs](...U),Mc,k=>fe(k)||Ze(k))}function y(U){P=U,x.pluralRules=P}function $(U,k){return re(()=>{if(!U)return!1;const j=fe(k)?k:c.value,oe=z(j),ue=x.messageResolver(oe,U);return i?ue!=null:Yt(ue)||Tt(ue)||fe(ue)},()=>[U],"translate exists",j=>Reflect.apply(j.te,j,[U,k]),tb,j=>Ne(j))}function C(U){let k=null;const j=oc(x,u.value,c.value);for(let oe=0;oe{l&&(c.value=U,x.locale=U,Dn(x,c.value,u.value))}),Ue(o.fallbackLocale,U=>{l&&(u.value=U,x.fallbackLocale=U,Dn(x,c.value,u.value))}));const ee={id:Fc,locale:Q,fallbackLocale:le,get inheritLocale(){return l},set inheritLocale(U){l=U,U&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,Dn(x,c.value,u.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:G,get modifiers(){return M},get pluralRules(){return P||{}},get isGlobal(){return s},get missingWarn(){return A},set missingWarn(U){A=U,x.missingWarn=A},get fallbackWarn(){return p},set fallbackWarn(U){p=U,x.fallbackWarn=p},get fallbackRoot(){return S},set fallbackRoot(U){S=U},get fallbackFormat(){return v},set fallbackFormat(U){v=U,x.fallbackFormat=v},get warnHtmlMessage(){return _},set warnHtmlMessage(U){_=U,x.warnHtmlMessage=U},get escapeParameter(){return E},set escapeParameter(U){E=U,x.escapeParameter=U},t:de,getLocaleMessage:z,setLocaleMessage:I,mergeLocaleMessage:K,getPostTranslationHandler:T,setPostTranslationHandler:W,getMissingHandler:he,setMissingHandler:Z,[Cc]:y};return ee.datetimeFormats=N,ee.numberFormats=F,ee.rt=Ae,ee.te=$,ee.tm=D,ee.d=Ie,ee.n=ye,ee.getDateTimeFormat=H,ee.setDateTimeFormat=d,ee.mergeDateTimeFormat=g,ee.getNumberFormat=B,ee.setNumberFormat=q,ee.mergeNumberFormat=ie,ee[$c]=n,ee[Js]=ae,ee[Xs]=ke,ee[Zs]=ge,ee}function nb(e){const t=fe(e.locale)?e.locale:an,o=fe(e.fallbackLocale)||Ze(e.fallbackLocale)||Ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Ve(e.missing)?e.missing:void 0,s=Ne(e.silentTranslationWarn)||vo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=Ne(e.silentFallbackWarn)||vo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=Ne(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Ce(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ve(e.postTranslation)?e.postTranslation:void 0,m=fe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,L=Ne(e.sync)?e.sync:!0;let A=e.messages;if(Ce(e.sharedMessages)){const E=e.sharedMessages;A=Object.keys(E).reduce((P,x)=>{const R=P[x]||(P[x]={});return ft(R,E[x]),P},A||{})}const{__i18n:p,__root:S,__injectWithOption:v}=e,w=e.datetimeFormats,f=e.numberFormats,b=e.flatJson,_=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:A,flatJson:b,datetimeFormats:w,numberFormats:f,missing:n,missingWarn:s,fallbackWarn:a,fallbackRoot:r,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:m,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:L,translateExistCompatible:_,__i18n:p,__root:S,__injectWithOption:v}}function tr(e={},t){{const o=er(nb(e)),{__extender:n}=e,s={id:o.id,get locale(){return o.locale.value},set locale(a){o.locale.value=a},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(a){o.fallbackLocale.value=a},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return o.getMissingHandler()},set missing(a){o.setMissingHandler(a)},get silentTranslationWarn(){return Ne(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(a){o.missingWarn=Ne(a)?!a:a},get silentFallbackWarn(){return Ne(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(a){o.fallbackWarn=Ne(a)?!a:a},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(a){o.fallbackFormat=a},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(a){o.setPostTranslationHandler(a)},get sync(){return o.inheritLocale},set sync(a){o.inheritLocale=a},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){o.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(a){o.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...a){const[r,i,l]=a,c={};let u=null,m=null;if(!fe(r))throw dt(it.INVALID_ARGUMENT);const h=r;return fe(i)?c.locale=i:Ze(i)?u=i:Ce(i)&&(m=i),Ze(l)?u=l:Ce(l)&&(m=l),Reflect.apply(o.t,o,[h,u||m||{},c])},rt(...a){return Reflect.apply(o.rt,o,[...a])},tc(...a){const[r,i,l]=a,c={plural:1};let u=null,m=null;if(!fe(r))throw dt(it.INVALID_ARGUMENT);const h=r;return fe(i)?c.locale=i:nt(i)?c.plural=i:Ze(i)?u=i:Ce(i)&&(m=i),fe(l)?c.locale=l:Ze(l)?u=l:Ce(l)&&(m=l),Reflect.apply(o.t,o,[h,u||m||{},c])},te(a,r){return o.te(a,r)},tm(a){return o.tm(a)},getLocaleMessage(a){return o.getLocaleMessage(a)},setLocaleMessage(a,r){o.setLocaleMessage(a,r)},mergeLocaleMessage(a,r){o.mergeLocaleMessage(a,r)},d(...a){return Reflect.apply(o.d,o,[...a])},getDateTimeFormat(a){return o.getDateTimeFormat(a)},setDateTimeFormat(a,r){o.setDateTimeFormat(a,r)},mergeDateTimeFormat(a,r){o.mergeDateTimeFormat(a,r)},n(...a){return Reflect.apply(o.n,o,[...a])},getNumberFormat(a){return o.getNumberFormat(a)},setNumberFormat(a,r){o.setNumberFormat(a,r)},mergeNumberFormat(a,r){o.mergeNumberFormat(a,r)},getChoiceIndex(a,r){return-1}};return s.__extender=n,s}}const or={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function ab({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,s)=>[...n,...s.type===Re?s.children:[s]],[]):t.reduce((o,n)=>{const s=e[n];return s&&(o[n]=s()),o},Ge())}function Dc(e){return Re}const Oc=wn({name:"i18n-t",props:ft({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>nt(e)||!isNaN(e)}},or),setup(e,t){const{slots:o,attrs:n}=t,s=e.i18n||lt({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(o).filter(m=>m!=="_"),r=Ge();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=fe(e.plural)?+e.plural:e.plural);const i=ab(t,a),l=s[Js](e.keypath,i,r),c=ft(Ge(),n),u=fe(e.tag)||Be(e.tag)?e.tag:Dc();return ul(u,c,l)}}});function sb(e){return Ze(e)&&!fe(e[0])}function Bc(e,t,o,n){const{slots:s,attrs:a}=t;return()=>{const r={part:!0};let i=Ge();e.locale&&(r.locale=e.locale),fe(e.format)?r.key=e.format:Be(e.format)&&(fe(e.format.key)&&(r.key=e.format.key),i=Object.keys(e.format).reduce((h,L)=>o.includes(L)?ft(Ge(),h,{[L]:e.format[L]}):h,Ge()));const l=n(e.value,r,i);let c=[r.key];Ze(l)?c=l.map((h,L)=>{const A=s[h.type],p=A?A({[h.type]:h.value,index:L,parts:l}):[h.value];return sb(p)&&(p[0].key=`${h.type}-${L}`),p}):fe(l)&&(c=[l]);const u=ft(Ge(),a),m=fe(e.tag)||Be(e.tag)?e.tag:Dc();return ul(m,u,c)}}const jc=wn({name:"i18n-n",props:ft({value:{type:Number,required:!0},format:{type:[String,Object]}},or),setup(e,t){const o=e.i18n||lt({useScope:e.scope,__useComponent:!0});return Bc(e,t,Ac,(...n)=>o[Zs](...n))}}),zc=wn({name:"i18n-d",props:ft({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},or),setup(e,t){const o=e.i18n||lt({useScope:e.scope,__useComponent:!0});return Bc(e,t,wc,(...n)=>o[Xs](...n))}});function rb(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 ib(e){const t=r=>{const{instance:i,modifiers:l,value:c}=r;if(!i||!i.$)throw dt(it.UNEXPECTED_ERROR);const u=rb(e,i.$),m=Uc(c);return[Reflect.apply(u.t,u,[...Gc(m)]),u]};return{created:(r,i)=>{const[l,c]=t(i);Aa&&e.global===c&&(r.__i18nWatcher=Ue(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{Aa&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:i})=>{if(r.__composer){const l=r.__composer,c=Uc(i);r.textContent=Reflect.apply(l.t,l,[...Gc(c)])}},getSSRProps:r=>{const[i]=t(r);return{textContent:i}}}}function Uc(e){if(fe(e))return{path:e};if(Ce(e)){if(!("path"in e))throw dt(it.REQUIRED_VALUE,"path");return e}else throw dt(it.INVALID_VALUE)}function Gc(e){const{path:t,locale:o,args:n,choice:s,plural:a}=e,r={},i=n||{};return fe(o)&&(r.locale=o),nt(s)&&(r.plural=s),nt(a)&&(r.plural=a),[t,i,r]}function lb(e,t,...o){const n=Ce(o[0])?o[0]:{},s=!!n.useI18nComponentName;(Ne(n.globalInstall)?n.globalInstall:!0)&&([s?"i18n":Oc.name,"I18nT"].forEach(r=>e.component(r,Oc)),[jc.name,"I18nN"].forEach(r=>e.component(r,jc)),[zc.name,"I18nD"].forEach(r=>e.component(r,zc))),e.directive("t",ib(t))}function cb(e,t,o){return{beforeCreate(){const n=ro();if(!n)throw dt(it.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const a=s.i18n;if(s.__i18n&&(a.__i18n=s.__i18n),a.__root=t,this===this.$root)this.$i18n=Kc(e,a);else{a.__injectWithOption=!0,a.__extender=o.__vueI18nExtend,this.$i18n=tr(a);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Kc(e,s);else{this.$i18n=tr({__i18n:s.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&Pc(t,s,s),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,r)=>this.$i18n.te(a,r),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=ro();if(!n)throw dt(it.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Kc(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[Cc](t.pluralizationRules||e.pluralizationRules);const o=Ia(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 ub=_o("global-vue-i18n");function db(e={},t){const o=__VUE_I18N_LEGACY_API__&&Ne(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Ne(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,a=new Map,[r,i]=gb(e,o),l=_o("");function c(h){return a.get(h)||null}function u(h,L){a.set(h,L)}function m(h){a.delete(h)}{const h={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return s},async install(L,...A){if(L.__VUE_I18N_SYMBOL__=l,L.provide(L.__VUE_I18N_SYMBOL__,h),Ce(A[0])){const v=A[0];h.__composerExtend=v.__composerExtend,h.__vueI18nExtend=v.__vueI18nExtend}let p=null;!o&&n&&(p=kb(L,h.global)),__VUE_I18N_FULL_INSTALL__&&lb(L,h,...A),__VUE_I18N_LEGACY_API__&&o&&L.mixin(cb(i,i.__composer,h));const S=L.unmount;L.unmount=()=>{p&&p(),h.dispose(),S()}},get global(){return i},dispose(){r.stop()},__instances:a,__getInstance:c,__setInstance:u,__deleteInstance:m};return h}}function lt(e={}){const t=ro();if(t==null)throw dt(it.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw dt(it.NOT_INSTALLED);const o=pb(t),n=hb(o),s=Tc(t),a=fb(e,s);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw dt(it.NOT_AVAILABLE_IN_LEGACY_MODE);return _b(t,a,n,e)}if(a==="global")return Pc(n,e,s),n;if(a==="parent"){let l=mb(o,t,e.__useComponent);return l==null&&(l=n),l}const r=o;let i=r.__getInstance(t);if(i==null){const l=ft({},e);"__i18n"in s&&(l.__i18n=s.__i18n),n&&(l.__root=n),i=er(l),r.__composerExtend&&(i[Qs]=r.__composerExtend(i)),yb(r,t,i),r.__setInstance(t,i)}return i}function gb(e,t,o){const n=Qa();{const s=__VUE_I18N_LEGACY_API__&&t?n.run(()=>tr(e)):n.run(()=>er(e));if(s==null)throw dt(it.UNEXPECTED_ERROR);return[n,s]}}function pb(e){{const t=Te(e.isCE?ub:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw dt(e.isCE?it.NOT_INSTALLED_WITH_PROVIDE:it.UNEXPECTED_ERROR);return t}}function fb(e,t){return La(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function hb(e){return e.mode==="composition"?e.global:e.global.__composer}function mb(e,t,o=!1){let n=null;const s=t.root;let a=bb(t,o);for(;a!=null;){const r=e;if(e.mode==="composition")n=r.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const i=r.__getInstance(a);i!=null&&(n=i.__composer,o&&n&&!n[$c]&&(n=null))}if(n!=null||s===a)break;a=a.parent}return n}function bb(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function yb(e,t,o){Ht(()=>{},t),pa(()=>{const n=o;e.__deleteInstance(t);const s=n[Qs];s&&(s(),delete n[Qs])},t)}function _b(e,t,o,n={}){const s=t==="local",a=ds(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw dt(it.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=Ne(n.inheritLocale)?n.inheritLocale:!fe(n.locale),i=me(!s||r?o.locale.value:fe(n.locale)?n.locale:an),l=me(!s||r?o.fallbackLocale.value:fe(n.fallbackLocale)||Ze(n.fallbackLocale)||Ce(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=me(Ia(i.value,n)),u=me(Ce(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),m=me(Ce(n.numberFormats)?n.numberFormats:{[i.value]:{}}),h=s?o.missingWarn:Ne(n.missingWarn)||vo(n.missingWarn)?n.missingWarn:!0,L=s?o.fallbackWarn:Ne(n.fallbackWarn)||vo(n.fallbackWarn)?n.fallbackWarn:!0,A=s?o.fallbackRoot:Ne(n.fallbackRoot)?n.fallbackRoot:!0,p=!!n.fallbackFormat,S=Ve(n.missing)?n.missing:null,v=Ve(n.postTranslation)?n.postTranslation:null,w=s?o.warnHtmlMessage:Ne(n.warnHtmlMessage)?n.warnHtmlMessage:!0,f=!!n.escapeParameter,b=s?o.modifiers:Ce(n.modifiers)?n.modifiers:{},_=n.pluralRules||s&&o.pluralRules;function E(){return[i.value,l.value,c.value,u.value,m.value]}const M=Y({get:()=>a.value?a.value.locale.value:i.value,set:C=>{a.value&&(a.value.locale.value=C),i.value=C}}),P=Y({get:()=>a.value?a.value.fallbackLocale.value:l.value,set:C=>{a.value&&(a.value.fallbackLocale.value=C),l.value=C}}),x=Y(()=>a.value?a.value.messages.value:c.value),R=Y(()=>u.value),J=Y(()=>m.value);function Q(){return a.value?a.value.getPostTranslationHandler():v}function le(C){a.value&&a.value.setPostTranslationHandler(C)}function G(){return a.value?a.value.getMissingHandler():S}function N(C){a.value&&a.value.setMissingHandler(C)}function F(C){return E(),C()}function T(...C){return a.value?F(()=>Reflect.apply(a.value.t,null,[...C])):F(()=>"")}function W(...C){return a.value?Reflect.apply(a.value.rt,null,[...C]):""}function he(...C){return a.value?F(()=>Reflect.apply(a.value.d,null,[...C])):F(()=>"")}function Z(...C){return a.value?F(()=>Reflect.apply(a.value.n,null,[...C])):F(()=>"")}function re(C){return a.value?a.value.tm(C):{}}function de(C,D){return a.value?a.value.te(C,D):!1}function Ae(C){return a.value?a.value.getLocaleMessage(C):{}}function Ie(C,D){a.value&&(a.value.setLocaleMessage(C,D),c.value[C]=D)}function ye(C,D){a.value&&a.value.mergeLocaleMessage(C,D)}function Ee(C){return a.value?a.value.getDateTimeFormat(C):{}}function Oe(C,D){a.value&&(a.value.setDateTimeFormat(C,D),u.value[C]=D)}function ne(C,D){a.value&&a.value.mergeDateTimeFormat(C,D)}function ae(C){return a.value?a.value.getNumberFormat(C):{}}function ge(C,D){a.value&&(a.value.setNumberFormat(C,D),m.value[C]=D)}function ke(C,D){a.value&&a.value.mergeNumberFormat(C,D)}const y={get id(){return a.value?a.value.id:-1},locale:M,fallbackLocale:P,messages:x,datetimeFormats:R,numberFormats:J,get inheritLocale(){return a.value?a.value.inheritLocale:r},set inheritLocale(C){a.value&&(a.value.inheritLocale=C)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:b},get pluralRules(){return a.value?a.value.pluralRules:_},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:h},set missingWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackWarn(){return a.value?a.value.fallbackWarn:L},set fallbackWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackRoot(){return a.value?a.value.fallbackRoot:A},set fallbackRoot(C){a.value&&(a.value.fallbackRoot=C)},get fallbackFormat(){return a.value?a.value.fallbackFormat:p},set fallbackFormat(C){a.value&&(a.value.fallbackFormat=C)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:w},set warnHtmlMessage(C){a.value&&(a.value.warnHtmlMessage=C)},get escapeParameter(){return a.value?a.value.escapeParameter:f},set escapeParameter(C){a.value&&(a.value.escapeParameter=C)},t:T,getPostTranslationHandler:Q,setPostTranslationHandler:le,getMissingHandler:G,setMissingHandler:N,rt:W,d:he,n:Z,tm:re,te:de,getLocaleMessage:Ae,setLocaleMessage:Ie,mergeLocaleMessage:ye,getDateTimeFormat:Ee,setDateTimeFormat:Oe,mergeDateTimeFormat:ne,getNumberFormat:ae,setNumberFormat:ge,mergeNumberFormat:ke};function $(C){C.locale.value=i.value,C.fallbackLocale.value=l.value,Object.keys(c.value).forEach(D=>{C.mergeLocaleMessage(D,c.value[D])}),Object.keys(u.value).forEach(D=>{C.mergeDateTimeFormat(D,u.value[D])}),Object.keys(m.value).forEach(D=>{C.mergeNumberFormat(D,m.value[D])}),C.escapeParameter=f,C.fallbackFormat=p,C.fallbackRoot=A,C.fallbackWarn=L,C.missingWarn=h,C.warnHtmlMessage=w}return Li(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw dt(it.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const C=a.value=e.proxy.$i18n.__composer;t==="global"?(i.value=C.locale.value,l.value=C.fallbackLocale.value,c.value=C.messages.value,u.value=C.datetimeFormats.value,m.value=C.numberFormats.value):s&&$(C)}),y}const vb=["locale","fallbackLocale","availableLocales"],Hc=["t","rt","d","n","tm","te"];function kb(e,t){const o=Object.create(null);return vb.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a)throw dt(it.UNEXPECTED_ERROR);const r=Je(a.value)?{get(){return a.value.value},set(i){a.value.value=i}}:{get(){return a.get&&a.get()}};Object.defineProperty(o,s,r)}),e.config.globalProperties.$i18n=o,Hc.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a||!a.value)throw dt(it.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,a)}),()=>{delete e.config.globalProperties.$i18n,Hc.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(Qm(),__INTLIFY_JIT_COMPILATION__?ic(Wm):ic(qm),Dm(bm),Om(oc),__INTLIFY_PROD_DEVTOOLS__){const e=lo();e.__INTLIFY__=!0,Lm(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const wb=Object.assign({"./locales/ar/aria.json":Ep,"./locales/ar/buttons.json":Cp,"./locales/ar/detail.json":$p,"./locales/ar/legend.json":Tp,"./locales/ar/messages.json":Pp,"./locales/ar/options.json":Np,"./locales/ar/prayerLaps.json":Ip,"./locales/ar/search.json":Mp,"./locales/ar/tabs.json":Fp,"./locales/de/aria.json":Rp,"./locales/de/buttons.json":Dp,"./locales/de/detail.json":Op,"./locales/de/legend.json":Bp,"./locales/de/messages.json":jp,"./locales/de/options.json":zp,"./locales/de/prayerLaps.json":Up,"./locales/de/search.json":Gp,"./locales/de/tabs.json":Kp,"./locales/en/aria.json":Hp,"./locales/en/buttons.json":qp,"./locales/en/detail.json":Wp,"./locales/en/legend.json":Vp,"./locales/en/messages.json":Yp,"./locales/en/options.json":Jp,"./locales/en/popup.json":Xp,"./locales/en/prayerLaps.json":Zp,"./locales/en/search.json":Qp,"./locales/en/tabs.json":ef,"./locales/es/aria.json":tf,"./locales/es/buttons.json":of,"./locales/es/detail.json":nf,"./locales/es/legend.json":af,"./locales/es/messages.json":sf,"./locales/es/options.json":rf,"./locales/es/prayerLaps.json":lf,"./locales/es/search.json":cf,"./locales/es/tabs.json":uf,"./locales/fr/aria.json":df,"./locales/fr/buttons.json":gf,"./locales/fr/detail.json":pf,"./locales/fr/legend.json":ff,"./locales/fr/messages.json":hf,"./locales/fr/options.json":mf,"./locales/fr/popup.json":bf,"./locales/fr/prayerLaps.json":yf,"./locales/fr/search.json":_f,"./locales/fr/tabs.json":vf,"./locales/hi/aria.json":kf,"./locales/hi/buttons.json":wf,"./locales/hi/detail.json":xf,"./locales/hi/legend.json":Sf,"./locales/hi/messages.json":Af,"./locales/hi/options.json":Lf,"./locales/hi/prayerLaps.json":Ef,"./locales/hi/search.json":Cf,"./locales/it/aria.json":$f,"./locales/it/buttons.json":Tf,"./locales/it/detail.json":Pf,"./locales/it/legend.json":Nf,"./locales/it/messages.json":If,"./locales/it/options.json":Mf,"./locales/it/prayerLaps.json":Ff,"./locales/it/search.json":Rf,"./locales/pt/aria.json":Df,"./locales/pt/buttons.json":Of,"./locales/pt/detail.json":Bf,"./locales/pt/legend.json":jf,"./locales/pt/messages.json":zf,"./locales/pt/options.json":Uf,"./locales/pt/prayerLaps.json":Gf,"./locales/pt/search.json":Kf,"./locales/pt/tabs.json":Hf,"./locales/ro/aria.json":qf,"./locales/ro/buttons.json":Wf,"./locales/ro/detail.json":Vf,"./locales/ro/legend.json":Yf,"./locales/ro/messages.json":Jf,"./locales/ro/options.json":Xf,"./locales/ro/prayerLaps.json":Zf,"./locales/ro/search.json":Qf,"./locales/ru/aria.json":eh,"./locales/ru/buttons.json":th,"./locales/ru/detail.json":oh,"./locales/ru/legend.json":nh,"./locales/ru/messages.json":ah,"./locales/ru/options.json":sh,"./locales/ru/prayerLaps.json":rh,"./locales/ru/search.json":ih,"./locales/ru/tabs.json":lh,"./locales/zh/aria.json":ch,"./locales/zh/buttons.json":uh,"./locales/zh/detail.json":dh,"./locales/zh/legend.json":gh,"./locales/zh/messages.json":ph,"./locales/zh/options.json":fh,"./locales/zh/prayerLaps.json":hh,"./locales/zh/search.json":mh}),Bn={};for(const[e,t]of Object.entries(wb)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,s]=o;Bn[n]??(Bn[n]={}),Bn[n][s]=t}const qc=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],xb=new Set(["ar"]);function Sb(){var o;const t=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return qc.includes(t)?t:"en"}function Ab(){return db({legacy:!1,globalInjection:!0,locale:Sb(),fallbackLocale:"en",messages:Bn,missingWarn:!1,fallbackWarn:!1})}function Ot(e,t){const o=t||Lb(e);Ht(()=>{var i;const n=ro();if(!n)return;const s=(i=n.proxy)==null?void 0:i.$el;if(!s)return;const a=s.getRootNode();if(!(a instanceof ShadowRoot)||a.querySelector(`style[data-shadow-styles="${o}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",o),r.textContent=e,a.appendChild(r)})}function Lb(e){let t=0;for(let o=0;o(t==null?void 0:t.theme)==="dark"),s=Y(()=>{var A;return((A=o==null?void 0:o.value)==null?void 0:A.pinHintLabel)||"Tap a red dot — someone still needs prayer"}),a=me(!1);let r=null,i=null,l=null;function c(){return"doxa-pin-hint-seen"}function u(){try{return sessionStorage.getItem(c())==="1"}catch{return!1}}function m(){try{sessionStorage.setItem(c(),"1")}catch{}}function h(){a.value&&(a.value=!1,m(),l&&(l.removeEventListener("pointerdown",L,!0),l=null),r&&(clearTimeout(r),r=null))}function L(){h()}return Ht(()=>{var v,w,f;if(u())return;const A=ro(),p=(f=(w=(v=A==null?void 0:A.proxy)==null?void 0:v.$el)==null?void 0:w.getRootNode)==null?void 0:f.call(w);if(!p||typeof p.querySelector!="function")return;let S=0;i=setInterval(()=>{S++,p.querySelector("canvas")?(clearInterval(i),i=null,a.value=!0,l=p,p.addEventListener("pointerdown",L,!0),r=setTimeout(h,14e3)):S>40&&(clearInterval(i),i=null)},300)}),bo(()=>{i&&clearInterval(i),r&&clearTimeout(r),l&&l.removeEventListener("pointerdown",L,!0)}),Ot(` + */const Xm="9.14.5";function Zm(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(lo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(lo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(lo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(lo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(lo().__INTLIFY_PROD_DEVTOOLS__=!1)}const Qm=Tm.__EXTEND_POINT__,uo=La(Qm);uo(),uo(),uo(),uo(),uo(),uo(),uo(),uo(),uo();const Lc=Dt.__EXTEND_POINT__,wt=La(Lc),it={UNEXPECTED_RETURN_TYPE:Lc,INVALID_ARGUMENT:wt(),MUST_BE_CALL_SETUP_TOP:wt(),NOT_INSTALLED:wt(),NOT_AVAILABLE_IN_LEGACY_MODE:wt(),REQUIRED_VALUE:wt(),INVALID_VALUE:wt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:wt(),NOT_INSTALLED_WITH_PROVIDE:wt(),UNEXPECTED_ERROR:wt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:wt(),BRIDGE_SUPPORT_VUE_2_ONLY:wt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:wt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:wt(),__EXTEND_POINT__:wt()};function dt(e,...t){return en(e,null,void 0)}const Ys=_o("__translateVNode"),Js=_o("__datetimeParts"),Xs=_o("__numberParts"),Ec=_o("__setPluralRules"),Cc=_o("__injectWithOption"),Zs=_o("__dispose");function Dn(e){if(!Be(e)||Yt(e))return e;for(const t in e)if(Ft(e,t))if(!t.includes("."))Be(e[t])&&Dn(e[t]);else{const o=t.split("."),n=o.length-1;let s=e,a=!1;for(let r=0;r{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(r[l]=r[l]||Ue(),Ca(c,r[l])):Ca(c,r)}else fe(i)&&Ca(JSON.parse(i),r)}),s==null&&a)for(const i in r)Ft(r,i)&&Dn(r[i]);return r}function $c(e){return e.type}function Tc(e,t,o){let n=Be(t.messages)?t.messages:Ue();"__i18nGlobal"in o&&(n=Na(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const s=Object.keys(n);s.length&&s.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(Be(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])})}if(Be(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(r=>{e.mergeNumberFormat(r,t.numberFormats[r])})}}}function Pc(e){return We(An,null,e,0)}const Nc="__INTLIFY_META__",Ic=()=>[],eb=()=>!1;let Mc=0;function Fc(e){return(t,o,n,s)=>e(o,n,ro()||void 0,s)}const tb=()=>{const e=ro();let t=null;return e&&(t=$c(e)[Nc])?{[Nc]:t}:null};function Qs(e={},t){const{__root:o,__injectWithOption:n}=e,s=o===void 0,a=e.flatJson,r=Sa?me:us,i=!!e.translateExistCompatible;let l=Ne(e.inheritLocale)?e.inheritLocale:!0;const c=r(o&&l?o.locale.value:fe(e.locale)?e.locale:nn),u=r(o&&l?o.fallbackLocale.value:fe(e.fallbackLocale)||Ze(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),m=r(Na(c.value,e)),h=r(Ee(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),L=r(Ee(e.numberFormats)?e.numberFormats:{[c.value]:{}});let A=o?o.missingWarn:Ne(e.missingWarn)||vo(e.missingWarn)?e.missingWarn:!0,f=o?o.fallbackWarn:Ne(e.fallbackWarn)||vo(e.fallbackWarn)?e.fallbackWarn:!0,S=o?o.fallbackRoot:Ne(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,w=Ve(e.missing)?e.missing:null,p=Ve(e.missing)?Fc(e.missing):null,b=Ve(e.postTranslation)?e.postTranslation:null,_=o?o.warnHtmlMessage:Ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const M=o?o.modifiers:Ee(e.modifiers)?e.modifiers:{};let P=e.pluralRules||o&&o.pluralRules,x;x=(()=>{s&&dc(null);const U={version:Xm,locale:c.value,fallbackLocale:u.value,messages:m.value,modifiers:M,pluralRules:P,missing:p===null?void 0:p,missingWarn:A,fallbackWarn:f,fallbackFormat:v,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:_,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=h.value,U.numberFormats=L.value,U.__datetimeFormatters=Ee(x)?x.__datetimeFormatters:void 0,U.__numberFormatters=Ee(x)?x.__numberFormatters:void 0;const k=zm(U);return s&&dc(k),k})(),Rn(x,c.value,u.value);function J(){return[c.value,u.value,m.value,h.value,L.value]}const Q=Y({get:()=>c.value,set:U=>{c.value=U,x.locale=c.value}}),le=Y({get:()=>u.value,set:U=>{u.value=U,x.fallbackLocale=u.value,Rn(x,c.value,U)}}),G=Y(()=>m.value),N=Y(()=>h.value),F=Y(()=>L.value);function T(){return Ve(b)?b:null}function W(U){b=U,x.postTranslation=U}function he(){return w}function X(U){U!==null&&(p=Fc(U)),w=U,x.missing=p}const re=(U,k,j,oe,ue,be)=>{J();let Ce;try{__INTLIFY_PROD_DEVTOOLS__,s||(x.fallbackContext=o?jm():void 0),Ce=U(x)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(x.fallbackContext=void 0)}if(j!=="translate exists"&&nt(Ce)&&Ce===Pa||j==="translate exists"&&!Ce){const[we,et]=k();return o&&S?oe(o):ue(we)}else{if(be(Ce))return Ce;throw dt(it.UNEXPECTED_RETURN_TYPE)}};function de(...U){return re(k=>Reflect.apply(bc,null,[k,...U]),()=>qs(...U),"translate",k=>Reflect.apply(k.t,k,[...U]),k=>k,k=>fe(k))}function Ae(...U){const[k,j,oe]=U;if(oe&&!Be(oe))throw dt(it.INVALID_ARGUMENT);return de(k,j,ft({resolvedMessage:!0},oe||{}))}function Ie(...U){return re(k=>Reflect.apply(vc,null,[k,...U]),()=>Ws(...U),"datetime format",k=>Reflect.apply(k.d,k,[...U]),()=>nc,k=>fe(k))}function ye(...U){return re(k=>Reflect.apply(xc,null,[k,...U]),()=>Vs(...U),"number format",k=>Reflect.apply(k.n,k,[...U]),()=>nc,k=>fe(k))}function $e(U){return U.map(k=>fe(k)||nt(k)||Ne(k)?Pc(String(k)):k)}const ne={normalize:$e,interpolate:U=>U,type:"vnode"};function ae(...U){return re(k=>{let j;const oe=k;try{oe.processor=ne,j=Reflect.apply(bc,null,[oe,...U])}finally{oe.processor=null}return j},()=>qs(...U),"translate",k=>k[Ys](...U),k=>[Pc(k)],k=>Ze(k))}function ge(...U){return re(k=>Reflect.apply(xc,null,[k,...U]),()=>Vs(...U),"number format",k=>k[Xs](...U),Ic,k=>fe(k)||Ze(k))}function ke(...U){return re(k=>Reflect.apply(vc,null,[k,...U]),()=>Ws(...U),"datetime format",k=>k[Js](...U),Ic,k=>fe(k)||Ze(k))}function y(U){P=U,x.pluralRules=P}function $(U,k){return re(()=>{if(!U)return!1;const j=fe(k)?k:c.value,oe=z(j),ue=x.messageResolver(oe,U);return i?ue!=null:Yt(ue)||Tt(ue)||fe(ue)},()=>[U],"translate exists",j=>Reflect.apply(j.te,j,[U,k]),eb,j=>Ne(j))}function C(U){let k=null;const j=tc(x,u.value,c.value);for(let oe=0;oe{l&&(c.value=U,x.locale=U,Rn(x,c.value,u.value))}),Ke(o.fallbackLocale,U=>{l&&(u.value=U,x.fallbackLocale=U,Rn(x,c.value,u.value))}));const ee={id:Mc,locale:Q,fallbackLocale:le,get inheritLocale(){return l},set inheritLocale(U){l=U,U&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,Rn(x,c.value,u.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:G,get modifiers(){return M},get pluralRules(){return P||{}},get isGlobal(){return s},get missingWarn(){return A},set missingWarn(U){A=U,x.missingWarn=A},get fallbackWarn(){return f},set fallbackWarn(U){f=U,x.fallbackWarn=f},get fallbackRoot(){return S},set fallbackRoot(U){S=U},get fallbackFormat(){return v},set fallbackFormat(U){v=U,x.fallbackFormat=v},get warnHtmlMessage(){return _},set warnHtmlMessage(U){_=U,x.warnHtmlMessage=U},get escapeParameter(){return E},set escapeParameter(U){E=U,x.escapeParameter=U},t:de,getLocaleMessage:z,setLocaleMessage:I,mergeLocaleMessage:K,getPostTranslationHandler:T,setPostTranslationHandler:W,getMissingHandler:he,setMissingHandler:X,[Ec]:y};return ee.datetimeFormats=N,ee.numberFormats=F,ee.rt=Ae,ee.te=$,ee.tm=D,ee.d=Ie,ee.n=ye,ee.getDateTimeFormat=H,ee.setDateTimeFormat=d,ee.mergeDateTimeFormat=g,ee.getNumberFormat=B,ee.setNumberFormat=q,ee.mergeNumberFormat=ie,ee[Cc]=n,ee[Ys]=ae,ee[Js]=ke,ee[Xs]=ge,ee}function ob(e){const t=fe(e.locale)?e.locale:nn,o=fe(e.fallbackLocale)||Ze(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Ve(e.missing)?e.missing:void 0,s=Ne(e.silentTranslationWarn)||vo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=Ne(e.silentFallbackWarn)||vo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=Ne(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Ee(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ve(e.postTranslation)?e.postTranslation:void 0,m=fe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,L=Ne(e.sync)?e.sync:!0;let A=e.messages;if(Ee(e.sharedMessages)){const E=e.sharedMessages;A=Object.keys(E).reduce((P,x)=>{const R=P[x]||(P[x]={});return ft(R,E[x]),P},A||{})}const{__i18n:f,__root:S,__injectWithOption:v}=e,w=e.datetimeFormats,p=e.numberFormats,b=e.flatJson,_=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:A,flatJson:b,datetimeFormats:w,numberFormats:p,missing:n,missingWarn:s,fallbackWarn:a,fallbackRoot:r,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:m,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:L,translateExistCompatible:_,__i18n:f,__root:S,__injectWithOption:v}}function er(e={},t){{const o=Qs(ob(e)),{__extender:n}=e,s={id:o.id,get locale(){return o.locale.value},set locale(a){o.locale.value=a},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(a){o.fallbackLocale.value=a},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return o.getMissingHandler()},set missing(a){o.setMissingHandler(a)},get silentTranslationWarn(){return Ne(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(a){o.missingWarn=Ne(a)?!a:a},get silentFallbackWarn(){return Ne(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(a){o.fallbackWarn=Ne(a)?!a:a},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(a){o.fallbackFormat=a},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(a){o.setPostTranslationHandler(a)},get sync(){return o.inheritLocale},set sync(a){o.inheritLocale=a},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){o.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(a){o.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...a){const[r,i,l]=a,c={};let u=null,m=null;if(!fe(r))throw dt(it.INVALID_ARGUMENT);const h=r;return fe(i)?c.locale=i:Ze(i)?u=i:Ee(i)&&(m=i),Ze(l)?u=l:Ee(l)&&(m=l),Reflect.apply(o.t,o,[h,u||m||{},c])},rt(...a){return Reflect.apply(o.rt,o,[...a])},tc(...a){const[r,i,l]=a,c={plural:1};let u=null,m=null;if(!fe(r))throw dt(it.INVALID_ARGUMENT);const h=r;return fe(i)?c.locale=i:nt(i)?c.plural=i:Ze(i)?u=i:Ee(i)&&(m=i),fe(l)?c.locale=l:Ze(l)?u=l:Ee(l)&&(m=l),Reflect.apply(o.t,o,[h,u||m||{},c])},te(a,r){return o.te(a,r)},tm(a){return o.tm(a)},getLocaleMessage(a){return o.getLocaleMessage(a)},setLocaleMessage(a,r){o.setLocaleMessage(a,r)},mergeLocaleMessage(a,r){o.mergeLocaleMessage(a,r)},d(...a){return Reflect.apply(o.d,o,[...a])},getDateTimeFormat(a){return o.getDateTimeFormat(a)},setDateTimeFormat(a,r){o.setDateTimeFormat(a,r)},mergeDateTimeFormat(a,r){o.mergeDateTimeFormat(a,r)},n(...a){return Reflect.apply(o.n,o,[...a])},getNumberFormat(a){return o.getNumberFormat(a)},setNumberFormat(a,r){o.setNumberFormat(a,r)},mergeNumberFormat(a,r){o.mergeNumberFormat(a,r)},getChoiceIndex(a,r){return-1}};return s.__extender=n,s}}const tr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function nb({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,s)=>[...n,...s.type===Re?s.children:[s]],[]):t.reduce((o,n)=>{const s=e[n];return s&&(o[n]=s()),o},Ue())}function Rc(e){return Re}const Dc=kn({name:"i18n-t",props:ft({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>nt(e)||!isNaN(e)}},tr),setup(e,t){const{slots:o,attrs:n}=t,s=e.i18n||lt({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(o).filter(m=>m!=="_"),r=Ue();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=fe(e.plural)?+e.plural:e.plural);const i=nb(t,a),l=s[Ys](e.keypath,i,r),c=ft(Ue(),n),u=fe(e.tag)||Be(e.tag)?e.tag:Rc();return cl(u,c,l)}}});function ab(e){return Ze(e)&&!fe(e[0])}function Oc(e,t,o,n){const{slots:s,attrs:a}=t;return()=>{const r={part:!0};let i=Ue();e.locale&&(r.locale=e.locale),fe(e.format)?r.key=e.format:Be(e.format)&&(fe(e.format.key)&&(r.key=e.format.key),i=Object.keys(e.format).reduce((h,L)=>o.includes(L)?ft(Ue(),h,{[L]:e.format[L]}):h,Ue()));const l=n(e.value,r,i);let c=[r.key];Ze(l)?c=l.map((h,L)=>{const A=s[h.type],f=A?A({[h.type]:h.value,index:L,parts:l}):[h.value];return ab(f)&&(f[0].key=`${h.type}-${L}`),f}):fe(l)&&(c=[l]);const u=ft(Ue(),a),m=fe(e.tag)||Be(e.tag)?e.tag:Rc();return cl(m,u,c)}}const Bc=kn({name:"i18n-n",props:ft({value:{type:Number,required:!0},format:{type:[String,Object]}},tr),setup(e,t){const o=e.i18n||lt({useScope:e.scope,__useComponent:!0});return Oc(e,t,Sc,(...n)=>o[Xs](...n))}}),jc=kn({name:"i18n-d",props:ft({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},tr),setup(e,t){const o=e.i18n||lt({useScope:e.scope,__useComponent:!0});return Oc(e,t,kc,(...n)=>o[Js](...n))}});function sb(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 rb(e){const t=r=>{const{instance:i,modifiers:l,value:c}=r;if(!i||!i.$)throw dt(it.UNEXPECTED_ERROR);const u=sb(e,i.$),m=zc(c);return[Reflect.apply(u.t,u,[...Uc(m)]),u]};return{created:(r,i)=>{const[l,c]=t(i);Sa&&e.global===c&&(r.__i18nWatcher=Ke(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{Sa&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:i})=>{if(r.__composer){const l=r.__composer,c=zc(i);r.textContent=Reflect.apply(l.t,l,[...Uc(c)])}},getSSRProps:r=>{const[i]=t(r);return{textContent:i}}}}function zc(e){if(fe(e))return{path:e};if(Ee(e)){if(!("path"in e))throw dt(it.REQUIRED_VALUE,"path");return e}else throw dt(it.INVALID_VALUE)}function Uc(e){const{path:t,locale:o,args:n,choice:s,plural:a}=e,r={},i=n||{};return fe(o)&&(r.locale=o),nt(s)&&(r.plural=s),nt(a)&&(r.plural=a),[t,i,r]}function ib(e,t,...o){const n=Ee(o[0])?o[0]:{},s=!!n.useI18nComponentName;(Ne(n.globalInstall)?n.globalInstall:!0)&&([s?"i18n":Dc.name,"I18nT"].forEach(r=>e.component(r,Dc)),[Bc.name,"I18nN"].forEach(r=>e.component(r,Bc)),[jc.name,"I18nD"].forEach(r=>e.component(r,jc))),e.directive("t",rb(t))}function lb(e,t,o){return{beforeCreate(){const n=ro();if(!n)throw dt(it.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const a=s.i18n;if(s.__i18n&&(a.__i18n=s.__i18n),a.__root=t,this===this.$root)this.$i18n=Gc(e,a);else{a.__injectWithOption=!0,a.__extender=o.__vueI18nExtend,this.$i18n=er(a);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Gc(e,s);else{this.$i18n=er({__i18n:s.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&Tc(t,s,s),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,r)=>this.$i18n.te(a,r),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=ro();if(!n)throw dt(it.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Gc(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[Ec](t.pluralizationRules||e.pluralizationRules);const o=Na(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 cb=_o("global-vue-i18n");function ub(e={},t){const o=__VUE_I18N_LEGACY_API__&&Ne(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Ne(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,a=new Map,[r,i]=db(e,o),l=_o("");function c(h){return a.get(h)||null}function u(h,L){a.set(h,L)}function m(h){a.delete(h)}{const h={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return s},async install(L,...A){if(L.__VUE_I18N_SYMBOL__=l,L.provide(L.__VUE_I18N_SYMBOL__,h),Ee(A[0])){const v=A[0];h.__composerExtend=v.__composerExtend,h.__vueI18nExtend=v.__vueI18nExtend}let f=null;!o&&n&&(f=vb(L,h.global)),__VUE_I18N_FULL_INSTALL__&&ib(L,h,...A),__VUE_I18N_LEGACY_API__&&o&&L.mixin(lb(i,i.__composer,h));const S=L.unmount;L.unmount=()=>{f&&f(),h.dispose(),S()}},get global(){return i},dispose(){r.stop()},__instances:a,__getInstance:c,__setInstance:u,__deleteInstance:m};return h}}function lt(e={}){const t=ro();if(t==null)throw dt(it.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw dt(it.NOT_INSTALLED);const o=gb(t),n=fb(o),s=$c(t),a=pb(e,s);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw dt(it.NOT_AVAILABLE_IN_LEGACY_MODE);return yb(t,a,n,e)}if(a==="global")return Tc(n,e,s),n;if(a==="parent"){let l=hb(o,t,e.__useComponent);return l==null&&(l=n),l}const r=o;let i=r.__getInstance(t);if(i==null){const l=ft({},e);"__i18n"in s&&(l.__i18n=s.__i18n),n&&(l.__root=n),i=Qs(l),r.__composerExtend&&(i[Zs]=r.__composerExtend(i)),bb(r,t,i),r.__setInstance(t,i)}return i}function db(e,t,o){const n=Za();{const s=__VUE_I18N_LEGACY_API__&&t?n.run(()=>er(e)):n.run(()=>Qs(e));if(s==null)throw dt(it.UNEXPECTED_ERROR);return[n,s]}}function gb(e){{const t=Te(e.isCE?cb:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw dt(e.isCE?it.NOT_INSTALLED_WITH_PROVIDE:it.UNEXPECTED_ERROR);return t}}function pb(e,t){return Aa(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function fb(e){return e.mode==="composition"?e.global:e.global.__composer}function hb(e,t,o=!1){let n=null;const s=t.root;let a=mb(t,o);for(;a!=null;){const r=e;if(e.mode==="composition")n=r.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const i=r.__getInstance(a);i!=null&&(n=i.__composer,o&&n&&!n[Cc]&&(n=null))}if(n!=null||s===a)break;a=a.parent}return n}function mb(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function bb(e,t,o){Ht(()=>{},t),ga(()=>{const n=o;e.__deleteInstance(t);const s=n[Zs];s&&(s(),delete n[Zs])},t)}function yb(e,t,o,n={}){const s=t==="local",a=us(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw dt(it.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=Ne(n.inheritLocale)?n.inheritLocale:!fe(n.locale),i=me(!s||r?o.locale.value:fe(n.locale)?n.locale:nn),l=me(!s||r?o.fallbackLocale.value:fe(n.fallbackLocale)||Ze(n.fallbackLocale)||Ee(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=me(Na(i.value,n)),u=me(Ee(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),m=me(Ee(n.numberFormats)?n.numberFormats:{[i.value]:{}}),h=s?o.missingWarn:Ne(n.missingWarn)||vo(n.missingWarn)?n.missingWarn:!0,L=s?o.fallbackWarn:Ne(n.fallbackWarn)||vo(n.fallbackWarn)?n.fallbackWarn:!0,A=s?o.fallbackRoot:Ne(n.fallbackRoot)?n.fallbackRoot:!0,f=!!n.fallbackFormat,S=Ve(n.missing)?n.missing:null,v=Ve(n.postTranslation)?n.postTranslation:null,w=s?o.warnHtmlMessage:Ne(n.warnHtmlMessage)?n.warnHtmlMessage:!0,p=!!n.escapeParameter,b=s?o.modifiers:Ee(n.modifiers)?n.modifiers:{},_=n.pluralRules||s&&o.pluralRules;function E(){return[i.value,l.value,c.value,u.value,m.value]}const M=Y({get:()=>a.value?a.value.locale.value:i.value,set:C=>{a.value&&(a.value.locale.value=C),i.value=C}}),P=Y({get:()=>a.value?a.value.fallbackLocale.value:l.value,set:C=>{a.value&&(a.value.fallbackLocale.value=C),l.value=C}}),x=Y(()=>a.value?a.value.messages.value:c.value),R=Y(()=>u.value),J=Y(()=>m.value);function Q(){return a.value?a.value.getPostTranslationHandler():v}function le(C){a.value&&a.value.setPostTranslationHandler(C)}function G(){return a.value?a.value.getMissingHandler():S}function N(C){a.value&&a.value.setMissingHandler(C)}function F(C){return E(),C()}function T(...C){return a.value?F(()=>Reflect.apply(a.value.t,null,[...C])):F(()=>"")}function W(...C){return a.value?Reflect.apply(a.value.rt,null,[...C]):""}function he(...C){return a.value?F(()=>Reflect.apply(a.value.d,null,[...C])):F(()=>"")}function X(...C){return a.value?F(()=>Reflect.apply(a.value.n,null,[...C])):F(()=>"")}function re(C){return a.value?a.value.tm(C):{}}function de(C,D){return a.value?a.value.te(C,D):!1}function Ae(C){return a.value?a.value.getLocaleMessage(C):{}}function Ie(C,D){a.value&&(a.value.setLocaleMessage(C,D),c.value[C]=D)}function ye(C,D){a.value&&a.value.mergeLocaleMessage(C,D)}function $e(C){return a.value?a.value.getDateTimeFormat(C):{}}function Oe(C,D){a.value&&(a.value.setDateTimeFormat(C,D),u.value[C]=D)}function ne(C,D){a.value&&a.value.mergeDateTimeFormat(C,D)}function ae(C){return a.value?a.value.getNumberFormat(C):{}}function ge(C,D){a.value&&(a.value.setNumberFormat(C,D),m.value[C]=D)}function ke(C,D){a.value&&a.value.mergeNumberFormat(C,D)}const y={get id(){return a.value?a.value.id:-1},locale:M,fallbackLocale:P,messages:x,datetimeFormats:R,numberFormats:J,get inheritLocale(){return a.value?a.value.inheritLocale:r},set inheritLocale(C){a.value&&(a.value.inheritLocale=C)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:b},get pluralRules(){return a.value?a.value.pluralRules:_},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:h},set missingWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackWarn(){return a.value?a.value.fallbackWarn:L},set fallbackWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackRoot(){return a.value?a.value.fallbackRoot:A},set fallbackRoot(C){a.value&&(a.value.fallbackRoot=C)},get fallbackFormat(){return a.value?a.value.fallbackFormat:f},set fallbackFormat(C){a.value&&(a.value.fallbackFormat=C)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:w},set warnHtmlMessage(C){a.value&&(a.value.warnHtmlMessage=C)},get escapeParameter(){return a.value?a.value.escapeParameter:p},set escapeParameter(C){a.value&&(a.value.escapeParameter=C)},t:T,getPostTranslationHandler:Q,setPostTranslationHandler:le,getMissingHandler:G,setMissingHandler:N,rt:W,d:he,n:X,tm:re,te:de,getLocaleMessage:Ae,setLocaleMessage:Ie,mergeLocaleMessage:ye,getDateTimeFormat:$e,setDateTimeFormat:Oe,mergeDateTimeFormat:ne,getNumberFormat:ae,setNumberFormat:ge,mergeNumberFormat:ke};function $(C){C.locale.value=i.value,C.fallbackLocale.value=l.value,Object.keys(c.value).forEach(D=>{C.mergeLocaleMessage(D,c.value[D])}),Object.keys(u.value).forEach(D=>{C.mergeDateTimeFormat(D,u.value[D])}),Object.keys(m.value).forEach(D=>{C.mergeNumberFormat(D,m.value[D])}),C.escapeParameter=p,C.fallbackFormat=f,C.fallbackRoot=A,C.fallbackWarn=L,C.missingWarn=h,C.warnHtmlMessage=w}return Ai(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw dt(it.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const C=a.value=e.proxy.$i18n.__composer;t==="global"?(i.value=C.locale.value,l.value=C.fallbackLocale.value,c.value=C.messages.value,u.value=C.datetimeFormats.value,m.value=C.numberFormats.value):s&&$(C)}),y}const _b=["locale","fallbackLocale","availableLocales"],Kc=["t","rt","d","n","tm","te"];function vb(e,t){const o=Object.create(null);return _b.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a)throw dt(it.UNEXPECTED_ERROR);const r=Je(a.value)?{get(){return a.value.value},set(i){a.value.value=i}}:{get(){return a.get&&a.get()}};Object.defineProperty(o,s,r)}),e.config.globalProperties.$i18n=o,Kc.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a||!a.value)throw dt(it.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,a)}),()=>{delete e.config.globalProperties.$i18n,Kc.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(Zm(),__INTLIFY_JIT_COMPILATION__?rc(qm):rc(Hm),Rm(mm),Dm(tc),__INTLIFY_PROD_DEVTOOLS__){const e=lo();e.__INTLIFY__=!0,Am(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const kb=Object.assign({"./locales/ar/aria.json":Lp,"./locales/ar/buttons.json":Ep,"./locales/ar/detail.json":Cp,"./locales/ar/legend.json":$p,"./locales/ar/messages.json":Tp,"./locales/ar/options.json":Pp,"./locales/ar/prayerLaps.json":Np,"./locales/ar/search.json":Ip,"./locales/ar/tabs.json":Mp,"./locales/de/aria.json":Fp,"./locales/de/buttons.json":Rp,"./locales/de/detail.json":Dp,"./locales/de/legend.json":Op,"./locales/de/messages.json":Bp,"./locales/de/options.json":jp,"./locales/de/prayerLaps.json":zp,"./locales/de/search.json":Up,"./locales/de/tabs.json":Gp,"./locales/en/aria.json":Kp,"./locales/en/buttons.json":Hp,"./locales/en/detail.json":qp,"./locales/en/legend.json":Wp,"./locales/en/messages.json":Vp,"./locales/en/options.json":Yp,"./locales/en/popup.json":Jp,"./locales/en/prayerLaps.json":Xp,"./locales/en/search.json":Zp,"./locales/en/tabs.json":Qp,"./locales/es/aria.json":ef,"./locales/es/buttons.json":tf,"./locales/es/detail.json":of,"./locales/es/legend.json":nf,"./locales/es/messages.json":af,"./locales/es/options.json":sf,"./locales/es/prayerLaps.json":rf,"./locales/es/search.json":lf,"./locales/es/tabs.json":cf,"./locales/fr/aria.json":uf,"./locales/fr/buttons.json":df,"./locales/fr/detail.json":gf,"./locales/fr/legend.json":pf,"./locales/fr/messages.json":ff,"./locales/fr/options.json":hf,"./locales/fr/popup.json":mf,"./locales/fr/prayerLaps.json":bf,"./locales/fr/search.json":yf,"./locales/fr/tabs.json":_f,"./locales/hi/aria.json":vf,"./locales/hi/buttons.json":kf,"./locales/hi/detail.json":wf,"./locales/hi/legend.json":xf,"./locales/hi/messages.json":Sf,"./locales/hi/options.json":Af,"./locales/hi/prayerLaps.json":Lf,"./locales/hi/search.json":Ef,"./locales/it/aria.json":Cf,"./locales/it/buttons.json":$f,"./locales/it/detail.json":Tf,"./locales/it/legend.json":Pf,"./locales/it/messages.json":Nf,"./locales/it/options.json":If,"./locales/it/prayerLaps.json":Mf,"./locales/it/search.json":Ff,"./locales/pt/aria.json":Rf,"./locales/pt/buttons.json":Df,"./locales/pt/detail.json":Of,"./locales/pt/legend.json":Bf,"./locales/pt/messages.json":jf,"./locales/pt/options.json":zf,"./locales/pt/prayerLaps.json":Uf,"./locales/pt/search.json":Gf,"./locales/pt/tabs.json":Kf,"./locales/ro/aria.json":Hf,"./locales/ro/buttons.json":qf,"./locales/ro/detail.json":Wf,"./locales/ro/legend.json":Vf,"./locales/ro/messages.json":Yf,"./locales/ro/options.json":Jf,"./locales/ro/prayerLaps.json":Xf,"./locales/ro/search.json":Zf,"./locales/ru/aria.json":Qf,"./locales/ru/buttons.json":eh,"./locales/ru/detail.json":th,"./locales/ru/legend.json":oh,"./locales/ru/messages.json":nh,"./locales/ru/options.json":ah,"./locales/ru/prayerLaps.json":sh,"./locales/ru/search.json":rh,"./locales/ru/tabs.json":ih,"./locales/zh/aria.json":lh,"./locales/zh/buttons.json":ch,"./locales/zh/detail.json":uh,"./locales/zh/legend.json":dh,"./locales/zh/messages.json":gh,"./locales/zh/options.json":ph,"./locales/zh/prayerLaps.json":fh,"./locales/zh/search.json":hh}),On={};for(const[e,t]of Object.entries(kb)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,s]=o;On[n]??(On[n]={}),On[n][s]=t}const Hc=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],wb=new Set(["ar"]);function xb(){var o;const t=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return Hc.includes(t)?t:"en"}function Sb(){return ub({legacy:!1,globalInjection:!0,locale:xb(),fallbackLocale:"en",messages:On,missingWarn:!1,fallbackWarn:!1})}function Ot(e,t){const o=t||Ab(e);Ht(()=>{var i;const n=ro();if(!n)return;const s=(i=n.proxy)==null?void 0:i.$el;if(!s)return;const a=s.getRootNode();if(!(a instanceof ShadowRoot)||a.querySelector(`style[data-shadow-styles="${o}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",o),r.textContent=e,a.appendChild(r)})}function Ab(e){let t=0;for(let o=0;o(t==null?void 0:t.theme)==="dark"),s=Y(()=>{var A;return((A=o==null?void 0:o.value)==null?void 0:A.pinHintLabel)||"Tap a red dot — someone still needs prayer"}),a=me(!1);let r=null,i=null,l=null;function c(){return"doxa-pin-hint-seen"}function u(){try{return sessionStorage.getItem(c())==="1"}catch{return!1}}function m(){try{sessionStorage.setItem(c(),"1")}catch{}}function h(){a.value&&(a.value=!1,m(),l&&(l.removeEventListener("pointerdown",L,!0),l=null),r&&(clearTimeout(r),r=null))}function L(){h()}return Ht(()=>{var v,w,p;if(u())return;const A=ro(),f=(p=(w=(v=A==null?void 0:A.proxy)==null?void 0:v.$el)==null?void 0:w.getRootNode)==null?void 0:p.call(w);if(!f||typeof f.querySelector!="function")return;let S=0;i=setInterval(()=>{S++,f.querySelector("canvas")?(clearInterval(i),i=null,a.value=!0,l=f,f.addEventListener("pointerdown",L,!0),r=setTimeout(h,14e3)):S>40&&(clearInterval(i),i=null)},300)}),bo(()=>{i&&clearInterval(i),r&&clearTimeout(r),l&&l.removeEventListener("pointerdown",L,!0)}),Ot(` .pin-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2147482000; pointer-events: none; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; @@ -67,7 +67,7 @@ @media (prefers-reduced-motion: reduce) { .pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; } } -`,"pin-hint"),(A,p)=>a.value?(V(),te("div",{key:0,class:Pe(["pin-hint",{dark:n.value}]),role:"status"},[O("span",Eb,[p[0]||(p[0]=O("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),ut(" "+_e(s.value)+" ",1),O("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:h},"×")])],2)):ve("",!0)}},Ma="mapbox://styles/mapbox/standard",$b=Ma,Tb=Ma,Pb=!1,Wc={lightPreset:"night",theme:"default"},Nb={lightPreset:"day",theme:"monochrome"};function Ib(e){return e?/prayer/i.test(String(e))?"dark":"light":null}function Mb(e){let t=!1;const o=new WeakSet;function n(){return!1}function s(){return n()?"night":"day"}let a="dark";function r(v){return Ib(v)}function i(v,w){v!=="light"&&v!=="dark"||(a=v,w&&p(w))}function l(){return{...a==="light"?Nb:Wc}}function c(){return Ma}function u(){return{basemap:l()}}function m(v,w){try{return typeof v.getConfigProperty=="function"?v.getConfigProperty("basemap",w):void 0}catch{return}}function h(v){return!!v&&typeof v.setConfigProperty=="function"&&typeof v.getConfigProperty=="function"}function L(v,w=!1){if(!h(v))return!1;const f=l();let b=!1;try{for(const[_,E]of Object.entries(f))!w&&m(v,_)===E||(v.setConfigProperty("basemap",_,E),b=!0)}catch(_){console.warn("[useMapTheme] setConfigProperty failed:",_)}return b}function A(v){if(!o.has(v)&&(o.add(v),!!h(v)))try{v.on("style.load",()=>L(v)),v.on("styledata",()=>L(v))}catch{}}function p(v){if(!v)return;if(A(v),L(v)&&!t){t=!0;try{v.once("idle",()=>{t=!1,L(v,!0)})}catch{t=!1}}}function S(v){e.toggleTheme(),p(v)}return{setLook:i,lookFor:r,STANDARD_STYLE:Ma,LIGHT_STYLE:$b,DARK_STYLE:Tb,isDarkTheme:n,lightPreset:s,basemapConfig:l,bootStyle:c,bootConfig:u,applyTheme:p,swapTheme:S}}let Fb=0;const Rb=Ds("ui",{state:()=>({_storeInstanceId:++Fb,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:s=null,persistent:a=!1}=e,r={id:this.nextToastId++,message:t,type:o,duration:n,action:s,persistent:a,createdAt:Date.now()};return this.toasts.push(r),!a&&n>0&&setTimeout(()=>{this.removeToast(r.id)},n),r.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)}))}}}),Db=Ds("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 s=[0,0];if(o.center)s=o.center;else if(t&&typeof t.getCenter=="function"){const a=t.getCenter();a&&(s=[a.lng,a.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:s,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()}}}),Ob=Ds("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]=Ho({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]=Ho({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}}}),rn={_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}}},So=(e,t)=>{const o=e.__vccOpts||e;for(const[n,s]of t)o[n]=s;return o},Bb={class:"profile-loader"},jb={key:0,class:"profile-error"},zb={key:1,class:"profile-error"},Ub=So({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var f;const o=e,n=Y(()=>{if(!o.profileConfig)return null;try{return JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}}),s=Y(()=>{var b;return((b=n.value)==null?void 0:b.profile)||null}),a=Y(()=>{var b;return((b=n.value)==null?void 0:b.tk)||""}),r=Y(()=>{var b;return((b=n.value)==null?void 0:b.dataSource)||rn.activeSource||"doxa-csv"}),i=Y(()=>{var b;return((b=n.value)==null?void 0:b.colorSet)||"default"}),l=Y(()=>!1),c=Y(()=>{var b;return((b=n.value)==null?void 0:b.pinHint)!==!1}),u=Y(()=>{var _,E;const b=(((_=n.value)==null?void 0:_.locale)||((E=n.value)==null?void 0:E.lang)||"").split("-")[0].toLowerCase();return qc.includes(b)?b:""}),m=Te("appI18n",null);Ud(()=>{u.value&&m&&(m.global.locale.value=u.value)});const h=Y(()=>{var b,_;return u.value||((_=(b=m==null?void 0:m.global)==null?void 0:b.locale)==null?void 0:_.value)||"en"}),L=Y(()=>{var b;return((b=n.value)==null?void 0:b.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),A=Te("profileModules",null);if(!A)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const p=Y(()=>{if(!s.value)return null;const b=`./${s.value}.vue`;return A[b]?_s(A[b]):(console.error(`[ProfileLoader] Profile not found: "${s.value}". Available:`,Object.keys(A)),null)});bt("mapboxToken",a),bt("dataSource",r),bt("colorSet",i),bt("profileConfig",n),bt("instanceId",L),bt("lang",h);const S=Rb(),v=Db(),w=Ob();try{const b=typeof localStorage<"u"?localStorage.getItem("theme"):null;b&&((f=S.setTheme)==null||f.call(S,b))}catch{}return bt("uiStore",S),bt("mapStore",v),bt("dataStore",w),(b,_)=>(V(),te("div",Bb,[n.value?p.value?(V(),Xe(Ci(p.value),{key:2})):(V(),te("div",zb,[O("p",null,[_[1]||(_[1]=ut("⚠️ Profile ",-1)),O("strong",null,'"'+_e(s.value)+'"',1),_[2]||(_[2]=ut(" not found.",-1))])])):(V(),te("div",jb,[..._[0]||(_[0]=[O("p",null,[ut("⚠️ "),O("strong",null,"doxa-map"),ut(": missing or invalid "),O("code",null,"profile-config"),ut(" prop.")],-1),O("p",null,[ut("Example: "),O("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),p.value&&l.value?(V(),Xe(Ci(pe(null)),{key:3})):ve("",!0),p.value&&c.value?(V(),Xe(Cb,{key:4})):ve("",!0)]))}},[["__scopeId","data-v-b7582f77"]]),Vc="adoptionStatus",go={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},nr=go,ar={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},Gb=ar;function Yc(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)?go.hasAdoption:go.notAdopted}function sr({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],go.hasAdoption,["==",t,1],go.hasAdoption,go.notAdopted]}const Jc=sr,Kb=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:nr,ADOPTION_LABELS:Gb,LABELS:ar,PALETTE:go,PROPERTY_KEY:Vc,applyColor:sr,buildColorExpression:Jc,default:{name:"Adoption Progress",propertyKey:Vc,palette:go,colors:go,labels:ar,getColor:Yc,applyColor:sr,buildColorExpression:Jc},getColor:Yc},Symbol.toStringTag,{value:"Module"})),Xc="engagementStatus",po={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},rr=po,ir={notEngaged:"Unengaged",hasEngagement:"Engaged"},Hb=ir;function Zc(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)?po.hasEngagement:po.notEngaged}function lr({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],po.hasEngagement,["==",t,1],po.hasEngagement,po.notEngaged]}const Qc=lr,qb=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:rr,ENGAGEMENT_LABELS:Hb,LABELS:ir,PALETTE:po,PROPERTY_KEY:Xc,applyColor:lr,buildColorExpression:Qc,default:{name:"Engagement Progress",propertyKey:Xc,palette:po,colors:po,labels:ir,getColor:Zc,applyColor:lr,buildColorExpression:Qc},getColor:Zc},Symbol.toStringTag,{value:"Module"})),cr="languageFamily",Wb="#000000",Ao={"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"},eu=Ao;function Pt(e){return Ao[e]||Wb}const Vb=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(Ao))t[e(o)]=o;return t})();function Fa(e){if(!e)return"Unknown";const t=String(e).trim();return Vb[t.toLowerCase()]||t}function tu(e){var t;return Pt(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function ur(){const e=["match",["get",cr]];return Object.entries(Ao).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const ou=ur,Yb=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:eu,PALETTE:Ao,PROPERTY_KEY:cr,applyColor:ur,buildColorExpression:ou,canonicalFamilyName:Fa,default:{name:"Language Family",propertyKey:cr,palette:Ao,colors:Ao,getColor:tu,applyColor:ur,buildColorExpression:ou,getLanguageFamilyColor:Pt,canonicalFamilyName:Fa},defaultFamilyColor:"#95a5a6",getColor:tu,getLanguageFamilyColor:Pt,languageFamilyColors:Ao},Symbol.toStringTag,{value:"Module"})),nu="peoplePraying",Lo=144,Eo={noPrayer:"#e74c3c",hasPrayer:"#f39c12",fullPrayer:"#22c55e"},Ro=Eo,dr={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},Jb=dr;function Ra(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>=Lo?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function gr(e){return Eo[Ra(e)]}function au(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 su(e){return Ra(e)==="fullPrayer"}function ru(e){return gr(e)}function pr({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,Lo],Eo.fullPrayer,[">",t,0],Eo.hasPrayer,Eo.noPrayer]}const iu=pr,Xb=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:Lo,LABELS:dr,PALETTE:Eo,PRAYER_COLORS:Ro,PRAYER_LABELS:Jb,PROPERTY_KEY:nu,applyColor:pr,buildColorExpression:iu,checkHasFullPrayer:su,checkHasPrayer:au,default:{name:"Prayer Progress",propertyKey:nu,palette:Eo,colors:Eo,labels:dr,threshold:Lo,getColor:ru,applyColor:pr,buildColorExpression:iu,getPrayerLevel:Ra,getPrayerColor:gr,checkHasPrayer:au,checkHasFullPrayer:su},getColor:ru,getPrayerColor:gr,getPrayerLevel:Ra},Symbol.toStringTag,{value:"Module"})),lu="religion",fr="#94a3b8",Da={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},Et={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function hr(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return Da[t]?t:"U"}function cu(e){var o,n,s;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)||((s=e==null?void 0:e._raw)==null?void 0:s.religion);return Et[hr(t)]||fr}function mr(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",Et.C,"M",Et.M,"H",Et.H,"B",Et.B,"E",Et.E,"J",Et.J,"S",Et.S,"N",Et.N,"O",Et.O,fr]}const uu=mr,Zb=Object.assign({"./adoption.js":Kb,"./engagement.js":qb,"./language-family.js":Yb,"./prayer-progress.js":Xb,"./religion.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Et,PROPERTY_KEY:lu,RELIGION_FAMILIES:Da,applyColor:mr,buildColorExpression:uu,default:{name:"Religion",propertyKey:lu,palette:Et,families:Da,getColor:cu,applyColor:mr,buildColorExpression:uu,fallback:fr},getColor:cu,getReligionFamily:hr},Symbol.toStringTag,{value:"Module"}))}),Qb=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),ey=e=>e.replace(/-/g,"_").toUpperCase(),tt={...{STATUS:"status",CUSTOM:"custom"}},br={};function du(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 s=Qb(o);tt[ey(o)]=s,br[s]=n}}du(Zb);function ty(e){e&&du(e)}function Do(e){return br[e]||br[tt.LANGUAGE_FAMILY]}function yr(e,t={}){return Do(e).applyColor(t)}const oy=Object.assign({"./doxa-simple-map.vue":()=>Wa(()=>Promise.resolve().then(()=>Mv),void 0)});if(ty(Object.assign({})),typeof window<"u"&&((Ku=window.mapboxgl)!=null&&Ku.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 gu(){return pp(Ub,{configureApp(e){e.use(kp());const t=Ab();e.use(t),e.provide("appI18n",t),e.provide("profileModules",oy)}})}const ny=gu(),ay=gu();typeof customElements<"u"&&(customElements.get("doxa-map")||customElements.define("doxa-map",ny),customElements.get("doxa-simple-map")||customElements.define("doxa-simple-map",ay));const sy="rgba(120, 128, 134, 0.28)",pu="36px",fu=()=>{};function ry(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return fu;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return fu;const s=w=>w.classList.contains("map-scroll-edge--left");for(const w of n)w.style.background=`linear-gradient(${s(w)?"to right":"to left"}, ${sy} ${pu}, transparent ${pu})`,w.style.opacity="0",w.style.transition="opacity 0.16s ease",w.style.userSelect="none",w.style.webkitUserSelect="none";const a=w=>{w.style.opacity="1"},r=w=>{w.style.opacity="0"},i=()=>n.find(w=>!s(w))||null,l=new Set;let c=!1,u=null;const m=()=>{for(const w of n)l.has(w)||r(w)},h=()=>{const w=i();w&&(a(w),u&&clearTimeout(u),u=setTimeout(m,250))},L=()=>h(),A=w=>{if(!(w.touches&&w.touches.length===1))return;const f=w.target;f&&f.classList&&f.classList.contains("map-scroll-edge")||h()},p=()=>{u&&clearTimeout(u),m()};e.addEventListener("wheel",L,{passive:!0}),e.addEventListener("touchmove",A,{passive:!0}),e.addEventListener("touchend",p,{passive:!0}),e.addEventListener("touchcancel",p,{passive:!0});const S=()=>{c||h()};typeof window<"u"&&window.addEventListener("scroll",S,{passive:!0});const v=[];for(const w of n){const f=()=>{l.add(w),a(w)},b=()=>{l.delete(w),r(w)},_=()=>{c=!0,a(w)},E=()=>{c=!1,r(w)};w.addEventListener("mouseenter",f),w.addEventListener("mouseleave",b),w.addEventListener("touchstart",_,{passive:!0}),w.addEventListener("touchend",E,{passive:!0}),v.push(()=>{w.removeEventListener("mouseenter",f),w.removeEventListener("mouseleave",b),w.removeEventListener("touchstart",_),w.removeEventListener("touchend",E)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",L),e.removeEventListener("touchmove",A),e.removeEventListener("touchend",p),e.removeEventListener("touchcancel",p),typeof window<"u"&&window.removeEventListener("scroll",S);for(const f of v)f();for(const f of n)r(f)}}const iy=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 ly(e,t="mapbox"){const o=iy[e];return o?t==="maplibre"?{style:o.maplibre,lightPreset:void 0}:{style:o.mapbox,lightPreset:o.lightPreset}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0}:{style:void 0,lightPreset:void 0}}const ln={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 hu(e){if(typeof window>"u")return;const t=window,o=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",o),o();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const cy=ln.mapbox.css,uy="https://tiles.openfreemap.org/styles/liberty";function _r(e){var o;const t=((o=ln[e])==null?void 0:o.global)||ln.mapbox.global;return typeof window<"u"?window[t]:void 0}async function dy(e){const t=ln[e]||ln.mapbox;if(_r(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(_r(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,s)=>{const a=document.createElement("script");a.src=t.js,a.async=!1,a.addEventListener("load",n,{once:!0}),a.addEventListener("error",()=>s(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(a)})}async function gy(e,t){const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=r=>new Promise(i=>setTimeout(i,r)),s=o.querySelector(`link[href="${t}"]`);if(s){if(s.sheet)return;await Promise.race([new Promise(r=>{s.addEventListener("load",r,{once:!0}),s.addEventListener("error",r,{once:!0})}),n(2e3)]);return}const a=document.createElement("link");a.rel="stylesheet",a.href=t,await Promise.race([new Promise(r=>{a.addEventListener("load",r,{once:!0}),a.addEventListener("error",r,{once:!0}),o.prepend(a)}),n(2e3)])}function py(e){return typeof e=="string"&&/^https?:\/\//.test(e)?e:uy}const fy=85.0511,mu=-2,hy=0,my=-60;function bu(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function by(e,t,o,n){if(!e||e<=0||!t||t<=0)return hy;const s=Math.log2(e/512),a=bu(n)-bu(fy),r=Math.log2(t/(512*a)),i=Math.max(s,r);return Math.max(mu,Math.min(i,(o??18)-1))}function yy({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:s="mapbox",center:a=[20,10],zoom:r=2,minZoom:i=void 0,maxZoom:l=18,pitch:c=0,bearing:u=0,renderWorldCopies:m=!0,showEdgeBorders:h=!0,southCutoff:L=my,maxBounds:A=void 0}){const p=ds(null),S=me(!1);let v=null,w=null;const f=s==="maplibre";async function b(){var F;const M=ly(o,s).style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}await dy(s);const P=_r(s);if(!P){console.error(`[useMapInstance] ${f?"maplibregl":"mapboxgl"} is not available. Add the ${f?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(!f){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 gy(e.value,f?ln.maplibre.css:cy),await new Promise(T=>requestAnimationFrame(T));const x=e.value,R=x.clientWidth,J=x.clientHeight;if(R===0||J===0){console.error(`[useMapInstance] Container has ZERO dimensions (${R}×${J}). Map will be invisible. Check that parent elements have CSS sizing.`);let T=x.parentElement,W=0;for(;T&&W<5;)T=T.parentElement,W++}const Q=t;f||(P.accessToken=Q);const le=()=>typeof window<"u"&&window.innerWidth>=1024,G=(T,W)=>{if(!le())return mu;const he=by(T,W,l,L);return typeof i=="number"?Math.max(i,he):he},N=G(x.clientWidth,x.clientHeight);if(f){p.value=new P.Map({container:e.value,style:py(M),center:a,zoom:r,minZoom:N,maxZoom:l,pitch:c,bearing:u,dragRotate:!1,renderWorldCopies:m,...A?{maxBounds:A}:{},attributionControl:!0}),hu(p.value);try{e.value.__doxaMap=p.value}catch{}}else{const T=typeof n=="function"?n():n;p.value=new P.Map({accessToken:Q,container:e.value,style:M,...T?{config:T}:{},center:a,zoom:r,minZoom:N,maxZoom:l,pitch:c,bearing:u,dragRotate:!1,touchPitch:!1,renderWorldCopies:m,...A?{maxBounds:A}:{},attributionControl:!0}),hu(p.value);try{e.value.__doxaMap=p.value}catch{}}try{p.value.touchZoomRotate.disableRotation()}catch{}w=ry(((F=e.value)==null?void 0:F.parentElement)||null,{enabled:h}),v=()=>{const T=p.value;if(!T)return;const W=G(x.clientWidth,x.clientHeight);T.setMinZoom(W),T.getZoom(){requestAnimationFrame(()=>{var T;(T=p.value)==null||T.resize(),p.value&&p.value.setMinZoom(G(x.clientWidth,x.clientHeight)),S.value=!0})})}function _(){p.value&&(v&&(p.value.off("resize",v),typeof window<"u"&&(window.removeEventListener("resize",v),window.removeEventListener("orientationchange",v)),v=null),w&&(w(),w=null),p.value.remove(),p.value=null,S.value=!1)}return{map:p,isMapReady:S,initializeMap:b,destroy:_}}const yu="doxa-prayed-local",_y=7*24*60*60*1e3;function _u(){try{const e=localStorage.getItem(yu);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function vu(e){try{localStorage.setItem(yu,JSON.stringify(e))}catch{}}function vy(){const e=Date.now(),t=_u();let o=!1;for(const[n,s]of Object.entries(t))(typeof s!="number"||e-s>_y)&&(delete t[n],o=!0);return o&&vu(t),new Set(Object.keys(t))}function ky(e){if(!e)return;const t=_u();t[e]=Date.now(),vu(t);try{window.dispatchEvent(new CustomEvent("doxa:prayed-locally",{detail:{slug:e}}))}catch{}}function wy(e){const t=vy();return!t.size||!Array.isArray(e)?e:e.map(o=>(Number(o&&o.peoplePraying)||0)>0||!o||!t.has(o.slug)?o:{...o,peoplePraying:1})}const Qe={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"},ku={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"};function vr(e){return e==null?"":typeof e=="object"?e.label||e.value||"":String(e)}const xy=[[/ sign language$/i,"Sign Language"]];function Sy(e){var i,l;const t=vr(e.languageFamily);if(t)return t;const o=String(((l=(i=e._raw)==null?void 0:i.primary_language)==null?void 0:l.value)||(e.language&&typeof e.language=="object"?e.language.value:"")||"").trim().toLowerCase();if(o&&ku[o])return ku[o];const n=vr(e.language||e.primary_language);if(!n||typeof n!="string")return"";const s=n.trim(),a=s.split(",").map(c=>c.trim()).filter(Boolean);if(a.length>=2){const c=[...a].reverse().join(" ");if(Qe[c])return Qe[c];if(a.length>=3){const u=[a[1],a[0]].join(" ");if(Qe[u])return Qe[u]}}if(Qe[s])return Qe[s];const r=s.replace(/\s*\(.*?\)\s*$/,"").trim();if(r!==s&&Qe[r])return Qe[r];for(const[c,u]of xy)if(c.test(s))return u;return""}function Ay(e){const{mapId:t="unknown",dataSourceId:o="doxa-csv",dataSourceManager:n=null,dataStore:s=null,markRaw:a=M=>M}=e;n||console.error("useMapData: dataSourceManager is required!");const r=me(!1),i=me(null),l=me(!1),c=me([]),u=me([]),m=me(null),h=me([]),L=me([]),A=me([]),p=me(null);async function S(){if(!n)throw new Error("dataSourceManager is required for useMapData");r.value=!0,i.value=null;try{if(await n.init(),s&&s.hasSourceData&&s.hasSourceData(o)){const N=s.getSourceData(o);u.value=a(N.normalizedData||[])}else{const N=await n.setActiveSource(o);for(const F of N){const T=vr(F.language||F.primary_language);T&&(F.language=T);const W=Sy(F);F.languageFamily=Fa(W)}u.value=a(N),s&&s.cacheSourceData&&s.cacheSourceData(o,{normalizedData:N,timestamp:Date.now()})}c.value=a(wy(u.value.map(N=>({id:N.uniqueId,slug:N.slug||"",rop3:N.peopleGroupId,peopleId3:N.peopleId3,name:N.name,language:N.language,languageFamily:N.languageFamily,country:N.country,population:N.population,status:N.engagementStatus||N.status,latitude:N.latitude,longitude:N.longitude,lng:N.longitude,lat:N.latitude,description:N.description,imageUrl:N.imageUrl,doxaRegion:N.doxaRegion||N.wagfRegion||"",peoplePraying:N.peoplePraying??null,_normalized:N}))));const M=n.getDataByLanguageFamily();h.value=Object.entries(M).map(([N,F])=>{const T=F.reduce((W,he)=>{const Z=parseInt(he.population)||0;return W+Z},0);return{name:N,count:F.length,peopleGroupCount:F.length,population:T,groups:F}}).sort((N,F)=>F.count-N.count);const P=n.getDataByRegion();L.value=Object.entries(P).map(([N,F])=>{const T=F.reduce((W,he)=>{const Z=parseInt(he.population)||0;return W+Z},0);return{name:N,count:F.length,peopleGroupCount:F.length,population:T,groups:F}}).sort((N,F)=>N.name.localeCompare(F.name));const x={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(N=>{const F=parseInt(N.population)||0;let T=!1;N.bible==="Available"&&(x.bible.count++,x.bible.population+=F,x.bible.groups.push(N),T=!0),N.jesusFilm==="Available"&&(x.jesusFilm.count++,x.jesusFilm.population+=F,x.jesusFilm.groups.push(N),T=!0),N.radio==="Available"&&(x.radio.count++,x.radio.population+=F,x.radio.groups.push(N),T=!0),N.gospel==="Available"&&(x.gospel.count++,x.gospel.population+=F,x.gospel.groups.push(N),T=!0),N.audio==="Available"&&(x.audio.count++,x.audio.population+=F,x.audio.groups.push(N),T=!0),N.stories==="Available"&&(x.stories.count++,x.stories.population+=F,x.stories.groups.push(N),T=!0),T?(x.hasResources.count++,x.hasResources.population+=F,x.hasResources.groups.push(N)):(x.noResources.count++,x.noResources.population+=F,x.noResources.groups.push(N))});const R=u.value.length,J=u.value.reduce((N,F)=>N+(parseInt(F.population)||0),0),Q={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},le={bible:{count:R-x.bible.count,population:J-x.bible.population},jesusFilm:{count:R-x.jesusFilm.count,population:J-x.jesusFilm.population},radio:{count:R-x.radio.count,population:J-x.radio.population},gospel:{count:R-x.gospel.count,population:J-x.gospel.population},audio:{count:R-x.audio.count,population:J-x.audio.population},stories:{count:R-x.stories.count,population:J-x.stories.population}},G="#2c3e50";return A.value=[{name:Q.bible,key:"bible",count:x.bible.count,population:x.bible.population,isParent:!0,children:[{name:"No Bible",key:"noBible",count:le.bible.count,population:le.bible.population,color:G}]},{name:Q.jesusFilm,key:"jesusFilm",count:x.jesusFilm.count,population:x.jesusFilm.population,isParent:!0,children:[{name:"No Jesus Film",key:"noJesusFilm",count:le.jesusFilm.count,population:le.jesusFilm.population,color:G}]},{name:Q.radio,key:"radio",count:x.radio.count,population:x.radio.population,isParent:!0,children:[{name:"No Radio",key:"noRadio",count:le.radio.count,population:le.radio.population,color:G}]},{name:Q.gospel,key:"gospel",count:x.gospel.count,population:x.gospel.population,isParent:!0,children:[{name:"No Gospel",key:"noGospel",count:le.gospel.count,population:le.gospel.population,color:G}]},{name:Q.audio,key:"audio",count:x.audio.count,population:x.audio.population,isParent:!0,children:[{name:"No Audio",key:"noAudio",count:le.audio.count,population:le.audio.population,color:G}]},{name:Q.stories,key:"stories",count:x.stories.count,population:x.stories.population,isParent:!0,children:[{name:"No Stories",key:"noStories",count:le.stories.count,population:le.stories.population,color:G}]},{name:Q.hasResources,key:"hasResources",count:x.hasResources.count,population:x.hasResources.population,isParent:!0,children:[{name:Q.noResources,key:"noResources",count:x.noResources.count,population:x.noResources.population,color:G}]}],p.value=n.getStats(),l.value=!0,{peopleGroups:c.value,normalizedPeopleGroups:u.value,languageFamiliesData:h.value,doxaRegionsData:L.value,resourcesData:A.value,stats:p.value}}catch(M){throw console.error(`Failed to load data for map "${t}":`,M),i.value=M.message||"Failed to load data",M}finally{r.value=!1}}async function v(){var M,P,x;try{const R={},J=u.value||[];for(const Q of J){const le=Q.countryIso||((P=(M=Q._raw)==null?void 0:M.country_code)==null?void 0:P.value)||"",G=(x=Q._raw)==null?void 0:x.wagf_region,N=Q.doxaRegion||Q.wagfRegion||(G&&typeof G=="object"?G.value:"")||"";le&&N&&!R[le]&&(R[le]=N)}return m.value={isoToRegion:R},m.value}catch(R){throw console.error(`Error building regions data for map "${t}":`,R),i.value=R.message||"Failed to build regions",R}}function w(){return n?n.getDataByLanguageFamily():{}}function f(){return n?n.getDataByRegion():{}}function b(M){return w()[M]||[]}function _(M){return f()[M]||[]}function E(){c.value=[],u.value=[],m.value=null,h.value=[],L.value=[],A.value=[],p.value=null,l.value=!1,i.value=null}return{isLoading:r,isInitialized:l,error:i,peopleGroups:c,normalizedPeopleGroups:u,regionsData:m,languageFamiliesData:h,doxaRegionsData:L,resourcesData:A,stats:p,loadData:S,loadRegionsData:v,getDataByLanguageFamily:w,getDataByRegion:f,getPeopleGroupsByFamily:b,getPeopleGroupsByRegion:_,clearData:E}}function wu(e){return typeof window<"u"&&!!window.mapboxgl&&e instanceof window.mapboxgl.Map}function Oa(e){return wu(e)?{"circle-emissive-strength":1}:{}}const Ly={Africa:{zoom:1.3,center:[16.6512,26.3538]},Asia:{zoom:.8,center:[98.2654,49.9282]},Europe:{zoom:1.4,center:[22.7826,70.1026]},"Latin America & Caribbean":{zoom:1.8,center:[-60.4619,10.1428]},"Middle East":{zoom:1.7,center:[22.9056,39.5752]},"No WAGF Region/Bloc":{zoom:.6,center:[-8.2363,44.2392]},"North America & Non-Spanish Caribbean":{zoom:2.1,center:[-68.1935,31.4282]},Oceania:{zoom:1.5,center:[161.6257,-.668]}},xu={circleRadius:{standard:["interpolate",["linear"],["zoom"],0,3,2,3.5,4,4,5,5,6,6.5,7,8,8,10,10,14,12,18,14,22],highlighted:["interpolate",["linear"],["zoom"],0,4,4,5,8,12,12,20],faded:["interpolate",["linear"],["zoom"],0,2,4,2.5,8,5,12,8],compact:["interpolate",["linear"],["zoom"],0,2,4,3,8,6,12,10],large:["interpolate",["linear"],["zoom"],0,4,4,6,8,14,12,24],touchTarget:["interpolate",["linear"],["zoom"],0,12,2,15,4,19,6,20,8,21,10,22,12,24,14,28]}};function Ey(e){return Ly[e]||null}function kr(e="standard"){return xu.circleRadius[e]||xu.circleRadius.standard}function Cy(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:s=()=>[]}=e,a=Te("uiStore"),{t:r,locale:i}=lt(),l=me([]);function c(f){const b=n(f.languageFamily),_="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg";let E=f.imageUrl;(!E||E.includes("NoImageAvailable"))&&(E=_);const M=(f.name||"U")[0].toUpperCase(),P=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"],x=M.charCodeAt(0)%P.length;return` +`,"pin-hint"),(A,f)=>a.value?(V(),te("div",{key:0,class:Pe(["pin-hint",{dark:n.value}]),role:"status"},[O("span",Lb,[f[0]||(f[0]=O("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),ut(" "+_e(s.value)+" ",1),O("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:h},"×")])],2)):ve("",!0)}},Ia="mapbox://styles/mapbox/standard",Cb=Ia,$b=Ia,Tb=!1,qc={lightPreset:"night",theme:"default"},Pb={lightPreset:"day",theme:"monochrome"};function Nb(e){return e?/prayer/i.test(String(e))?"dark":"light":null}function Ib(e){let t=!1;const o=new WeakSet;function n(){return!1}function s(){return n()?"night":"day"}let a="dark";function r(v){return Nb(v)}function i(v,w){v!=="light"&&v!=="dark"||(a=v,w&&f(w))}function l(){return{...a==="light"?Pb:qc}}function c(){return Ia}function u(){return{basemap:l()}}function m(v,w){try{return typeof v.getConfigProperty=="function"?v.getConfigProperty("basemap",w):void 0}catch{return}}function h(v){return!!v&&typeof v.setConfigProperty=="function"&&typeof v.getConfigProperty=="function"}function L(v,w=!1){if(!h(v))return!1;const p=l();let b=!1;try{for(const[_,E]of Object.entries(p))!w&&m(v,_)===E||(v.setConfigProperty("basemap",_,E),b=!0)}catch(_){console.warn("[useMapTheme] setConfigProperty failed:",_)}return b}function A(v){if(!o.has(v)&&(o.add(v),!!h(v)))try{v.on("style.load",()=>L(v)),v.on("styledata",()=>L(v))}catch{}}function f(v){if(!v)return;if(A(v),L(v)&&!t){t=!0;try{v.once("idle",()=>{t=!1,L(v,!0)})}catch{t=!1}}}function S(v){e.toggleTheme(),f(v)}return{setLook:i,lookFor:r,STANDARD_STYLE:Ia,LIGHT_STYLE:Cb,DARK_STYLE:$b,isDarkTheme:n,lightPreset:s,basemapConfig:l,bootStyle:c,bootConfig:u,applyTheme:f,swapTheme:S}}let Mb=0;const Fb=Rs("ui",{state:()=>({_storeInstanceId:++Mb,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:s=null,persistent:a=!1}=e,r={id:this.nextToastId++,message:t,type:o,duration:n,action:s,persistent:a,createdAt:Date.now()};return this.toasts.push(r),!a&&n>0&&setTimeout(()=>{this.removeToast(r.id)},n),r.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)}))}}}),Rb=Rs("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 s=[0,0];if(o.center)s=o.center;else if(t&&typeof t.getCenter=="function"){const a=t.getCenter();a&&(s=[a.lng,a.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:s,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()}}}),Db=Rs("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]=Ko({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]=Ko({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}}}),sn={_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}}},So=(e,t)=>{const o=e.__vccOpts||e;for(const[n,s]of t)o[n]=s;return o},Ob={class:"profile-loader"},Bb={key:0,class:"profile-error"},jb={key:1,class:"profile-error"},zb=So({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var p;const o=e,n=Y(()=>{if(!o.profileConfig)return null;try{return JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}}),s=Y(()=>{var b;return((b=n.value)==null?void 0:b.profile)||null}),a=Y(()=>{var b;return((b=n.value)==null?void 0:b.tk)||""}),r=Y(()=>{var b;return((b=n.value)==null?void 0:b.dataSource)||sn.activeSource||"doxa-csv"}),i=Y(()=>{var b;return((b=n.value)==null?void 0:b.colorSet)||"default"}),l=Y(()=>!1),c=Y(()=>{var b;return((b=n.value)==null?void 0:b.pinHint)!==!1}),u=Y(()=>{var _,E;const b=(((_=n.value)==null?void 0:_.locale)||((E=n.value)==null?void 0:E.lang)||"").split("-")[0].toLowerCase();return Hc.includes(b)?b:""}),m=Te("appI18n",null);zd(()=>{u.value&&m&&(m.global.locale.value=u.value)});const h=Y(()=>{var b,_;return u.value||((_=(b=m==null?void 0:m.global)==null?void 0:b.locale)==null?void 0:_.value)||"en"}),L=Y(()=>{var b;return((b=n.value)==null?void 0:b.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),A=Te("profileModules",null);if(!A)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const f=Y(()=>{if(!s.value)return null;const b=`./${s.value}.vue`;return A[b]?ys(A[b]):(console.error(`[ProfileLoader] Profile not found: "${s.value}". Available:`,Object.keys(A)),null)});bt("mapboxToken",a),bt("dataSource",r),bt("colorSet",i),bt("profileConfig",n),bt("instanceId",L),bt("lang",h);const S=Fb(),v=Rb(),w=Db();try{const b=typeof localStorage<"u"?localStorage.getItem("theme"):null;b&&((p=S.setTheme)==null||p.call(S,b))}catch{}return bt("uiStore",S),bt("mapStore",v),bt("dataStore",w),(b,_)=>(V(),te("div",Ob,[n.value?f.value?(V(),Xe(Ei(f.value),{key:2})):(V(),te("div",jb,[O("p",null,[_[1]||(_[1]=ut("⚠️ Profile ",-1)),O("strong",null,'"'+_e(s.value)+'"',1),_[2]||(_[2]=ut(" not found.",-1))])])):(V(),te("div",Bb,[..._[0]||(_[0]=[O("p",null,[ut("⚠️ "),O("strong",null,"doxa-map"),ut(": missing or invalid "),O("code",null,"profile-config"),ut(" prop.")],-1),O("p",null,[ut("Example: "),O("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),f.value&&l.value?(V(),Xe(Ei(pe(null)),{key:3})):ve("",!0),f.value&&c.value?(V(),Xe(Eb,{key:4})):ve("",!0)]))}},[["__scopeId","data-v-b7582f77"]]),Wc="adoptionStatus",go={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},or=go,nr={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},Ub=nr;function Vc(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)?go.hasAdoption:go.notAdopted}function ar({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],go.hasAdoption,["==",t,1],go.hasAdoption,go.notAdopted]}const Yc=ar,Gb=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:or,ADOPTION_LABELS:Ub,LABELS:nr,PALETTE:go,PROPERTY_KEY:Wc,applyColor:ar,buildColorExpression:Yc,default:{name:"Adoption Progress",propertyKey:Wc,palette:go,colors:go,labels:nr,getColor:Vc,applyColor:ar,buildColorExpression:Yc},getColor:Vc},Symbol.toStringTag,{value:"Module"})),Jc="engagementStatus",po={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},sr=po,rr={notEngaged:"Unengaged",hasEngagement:"Engaged"},Kb=rr;function Xc(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)?po.hasEngagement:po.notEngaged}function ir({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],po.hasEngagement,["==",t,1],po.hasEngagement,po.notEngaged]}const Zc=ir,Hb=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:sr,ENGAGEMENT_LABELS:Kb,LABELS:rr,PALETTE:po,PROPERTY_KEY:Jc,applyColor:ir,buildColorExpression:Zc,default:{name:"Engagement Progress",propertyKey:Jc,palette:po,colors:po,labels:rr,getColor:Xc,applyColor:ir,buildColorExpression:Zc},getColor:Xc},Symbol.toStringTag,{value:"Module"})),lr="languageFamily",qb="#000000",Ao={"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"},Qc=Ao;function Pt(e){return Ao[e]||qb}const Wb=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(Ao))t[e(o)]=o;return t})();function Ma(e){if(!e)return"Unknown";const t=String(e).trim();return Wb[t.toLowerCase()]||t}function eu(e){var t;return Pt(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function cr(){const e=["match",["get",lr]];return Object.entries(Ao).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const tu=cr,Vb=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:Qc,PALETTE:Ao,PROPERTY_KEY:lr,applyColor:cr,buildColorExpression:tu,canonicalFamilyName:Ma,default:{name:"Language Family",propertyKey:lr,palette:Ao,colors:Ao,getColor:eu,applyColor:cr,buildColorExpression:tu,getLanguageFamilyColor:Pt,canonicalFamilyName:Ma},defaultFamilyColor:"#95a5a6",getColor:eu,getLanguageFamilyColor:Pt,languageFamilyColors:Ao},Symbol.toStringTag,{value:"Module"})),ou="peoplePraying",Lo=144,Eo={noPrayer:"#e74c3c",hasPrayer:"#f39c12",fullPrayer:"#22c55e"},Ro=Eo,ur={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},Yb=ur;function Fa(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>=Lo?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function dr(e){return Eo[Fa(e)]}function nu(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 au(e){return Fa(e)==="fullPrayer"}function su(e){return dr(e)}function gr({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,Lo],Eo.fullPrayer,[">",t,0],Eo.hasPrayer,Eo.noPrayer]}const ru=gr,Jb=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:Lo,LABELS:ur,PALETTE:Eo,PRAYER_COLORS:Ro,PRAYER_LABELS:Yb,PROPERTY_KEY:ou,applyColor:gr,buildColorExpression:ru,checkHasFullPrayer:au,checkHasPrayer:nu,default:{name:"Prayer Progress",propertyKey:ou,palette:Eo,colors:Eo,labels:ur,threshold:Lo,getColor:su,applyColor:gr,buildColorExpression:ru,getPrayerLevel:Fa,getPrayerColor:dr,checkHasPrayer:nu,checkHasFullPrayer:au},getColor:su,getPrayerColor:dr,getPrayerLevel:Fa},Symbol.toStringTag,{value:"Module"})),iu="religion",pr="#94a3b8",Ra={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},Et={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function fr(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return Ra[t]?t:"U"}function lu(e){var o,n,s;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)||((s=e==null?void 0:e._raw)==null?void 0:s.religion);return Et[fr(t)]||pr}function hr(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",Et.C,"M",Et.M,"H",Et.H,"B",Et.B,"E",Et.E,"J",Et.J,"S",Et.S,"N",Et.N,"O",Et.O,pr]}const cu=hr,Xb=Object.assign({"./adoption.js":Gb,"./engagement.js":Hb,"./language-family.js":Vb,"./prayer-progress.js":Jb,"./religion.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Et,PROPERTY_KEY:iu,RELIGION_FAMILIES:Ra,applyColor:hr,buildColorExpression:cu,default:{name:"Religion",propertyKey:iu,palette:Et,families:Ra,getColor:lu,applyColor:hr,buildColorExpression:cu,fallback:pr},getColor:lu,getReligionFamily:fr},Symbol.toStringTag,{value:"Module"}))}),Zb=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),Qb=e=>e.replace(/-/g,"_").toUpperCase(),tt={...{STATUS:"status",CUSTOM:"custom"}},mr={};function uu(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 s=Zb(o);tt[Qb(o)]=s,mr[s]=n}}uu(Xb);function ey(e){e&&uu(e)}function Do(e){return mr[e]||mr[tt.LANGUAGE_FAMILY]}function br(e,t={}){return Do(e).applyColor(t)}const ty=Object.assign({"./doxa-simple-map.vue":()=>qa(()=>Promise.resolve().then(()=>Iv),void 0)});if(ey(Object.assign({})),typeof window<"u"&&((Gu=window.mapboxgl)!=null&&Gu.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 du(){return gp(zb,{configureApp(e){e.use(vp());const t=Sb();e.use(t),e.provide("appI18n",t),e.provide("profileModules",ty)}})}const oy=du(),ny=du();typeof customElements<"u"&&(customElements.get("doxa-map")||customElements.define("doxa-map",oy),customElements.get("doxa-simple-map")||customElements.define("doxa-simple-map",ny));const ay="rgba(120, 128, 134, 0.28)",gu="36px",pu=()=>{};function sy(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return pu;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return pu;const s=w=>w.classList.contains("map-scroll-edge--left");for(const w of n)w.style.background=`linear-gradient(${s(w)?"to right":"to left"}, ${ay} ${gu}, transparent ${gu})`,w.style.opacity="0",w.style.transition="opacity 0.16s ease",w.style.userSelect="none",w.style.webkitUserSelect="none";const a=w=>{w.style.opacity="1"},r=w=>{w.style.opacity="0"},i=()=>n.find(w=>!s(w))||null,l=new Set;let c=!1,u=null;const m=()=>{for(const w of n)l.has(w)||r(w)},h=()=>{const w=i();w&&(a(w),u&&clearTimeout(u),u=setTimeout(m,250))},L=()=>h(),A=w=>{if(!(w.touches&&w.touches.length===1))return;const p=w.target;p&&p.classList&&p.classList.contains("map-scroll-edge")||h()},f=()=>{u&&clearTimeout(u),m()};e.addEventListener("wheel",L,{passive:!0}),e.addEventListener("touchmove",A,{passive:!0}),e.addEventListener("touchend",f,{passive:!0}),e.addEventListener("touchcancel",f,{passive:!0});const S=()=>{c||h()};typeof window<"u"&&window.addEventListener("scroll",S,{passive:!0});const v=[];for(const w of n){const p=()=>{l.add(w),a(w)},b=()=>{l.delete(w),r(w)},_=()=>{c=!0,a(w)},E=()=>{c=!1,r(w)};w.addEventListener("mouseenter",p),w.addEventListener("mouseleave",b),w.addEventListener("touchstart",_,{passive:!0}),w.addEventListener("touchend",E,{passive:!0}),v.push(()=>{w.removeEventListener("mouseenter",p),w.removeEventListener("mouseleave",b),w.removeEventListener("touchstart",_),w.removeEventListener("touchend",E)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",L),e.removeEventListener("touchmove",A),e.removeEventListener("touchend",f),e.removeEventListener("touchcancel",f),typeof window<"u"&&window.removeEventListener("scroll",S);for(const p of v)p();for(const p of n)r(p)}}const ry=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 iy(e,t="mapbox"){const o=ry[e];return o?t==="maplibre"?{style:o.maplibre,lightPreset:void 0}:{style:o.mapbox,lightPreset:o.lightPreset}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0}:{style:void 0,lightPreset:void 0}}const rn={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 fu(e){if(typeof window>"u")return;const t=window,o=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",o),o();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const ly=rn.mapbox.css,cy="https://tiles.openfreemap.org/styles/liberty";function yr(e){var o;const t=((o=rn[e])==null?void 0:o.global)||rn.mapbox.global;return typeof window<"u"?window[t]:void 0}async function uy(e){const t=rn[e]||rn.mapbox;if(yr(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(yr(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,s)=>{const a=document.createElement("script");a.src=t.js,a.async=!1,a.addEventListener("load",n,{once:!0}),a.addEventListener("error",()=>s(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(a)})}async function dy(e,t){const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=r=>new Promise(i=>setTimeout(i,r)),s=o.querySelector(`link[href="${t}"]`);if(s){if(s.sheet)return;await Promise.race([new Promise(r=>{s.addEventListener("load",r,{once:!0}),s.addEventListener("error",r,{once:!0})}),n(2e3)]);return}const a=document.createElement("link");a.rel="stylesheet",a.href=t,await Promise.race([new Promise(r=>{a.addEventListener("load",r,{once:!0}),a.addEventListener("error",r,{once:!0}),o.prepend(a)}),n(2e3)])}function gy(e){return typeof e=="string"&&/^https?:\/\//.test(e)?e:cy}const py=85.0511,hu=-2,fy=0,hy=-60;function mu(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function my(e,t,o,n){if(!e||e<=0||!t||t<=0)return fy;const s=Math.log2(e/512),a=mu(n)-mu(py),r=Math.log2(t/(512*a)),i=Math.max(s,r);return Math.max(hu,Math.min(i,(o??18)-1))}function by({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:s="mapbox",center:a=[20,10],zoom:r=2,minZoom:i=void 0,maxZoom:l=18,pitch:c=0,bearing:u=0,renderWorldCopies:m=!0,showEdgeBorders:h=!0,southCutoff:L=hy,maxBounds:A=void 0}){const f=us(null),S=me(!1);let v=null,w=null;const p=s==="maplibre";async function b(){var F;const M=iy(o,s).style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}await uy(s);const P=yr(s);if(!P){console.error(`[useMapInstance] ${p?"maplibregl":"mapboxgl"} is not available. Add the ${p?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(!p){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 dy(e.value,p?rn.maplibre.css:ly),await new Promise(T=>requestAnimationFrame(T));const x=e.value,R=x.clientWidth,J=x.clientHeight;if(R===0||J===0){console.error(`[useMapInstance] Container has ZERO dimensions (${R}×${J}). Map will be invisible. Check that parent elements have CSS sizing.`);let T=x.parentElement,W=0;for(;T&&W<5;)T=T.parentElement,W++}const Q=t;p||(P.accessToken=Q);const le=()=>typeof window<"u"&&window.innerWidth>=1024,G=(T,W)=>{if(!le())return hu;const he=my(T,W,l,L);return typeof i=="number"?Math.max(i,he):he},N=G(x.clientWidth,x.clientHeight);if(p){f.value=new P.Map({container:e.value,style:gy(M),center:a,zoom:r,minZoom:N,maxZoom:l,pitch:c,bearing:u,dragRotate:!1,renderWorldCopies:m,...A?{maxBounds:A}:{},attributionControl:!0}),fu(f.value);try{e.value.__doxaMap=f.value}catch{}}else{const T=typeof n=="function"?n():n;f.value=new P.Map({accessToken:Q,container:e.value,style:M,...T?{config:T}:{},center:a,zoom:r,minZoom:N,maxZoom:l,pitch:c,bearing:u,dragRotate:!1,touchPitch:!1,renderWorldCopies:m,...A?{maxBounds:A}:{},attributionControl:!0}),fu(f.value);try{e.value.__doxaMap=f.value}catch{}}try{f.value.touchZoomRotate.disableRotation()}catch{}w=sy(((F=e.value)==null?void 0:F.parentElement)||null,{enabled:h}),v=()=>{const T=f.value;if(!T)return;const W=G(x.clientWidth,x.clientHeight);T.setMinZoom(W),T.getZoom(){requestAnimationFrame(()=>{var T;(T=f.value)==null||T.resize(),f.value&&f.value.setMinZoom(G(x.clientWidth,x.clientHeight)),S.value=!0})})}function _(){f.value&&(v&&(f.value.off("resize",v),typeof window<"u"&&(window.removeEventListener("resize",v),window.removeEventListener("orientationchange",v)),v=null),w&&(w(),w=null),f.value.remove(),f.value=null,S.value=!1)}return{map:f,isMapReady:S,initializeMap:b,destroy:_}}const bu="doxa-prayed-local",yy=7*24*60*60*1e3;function yu(){try{const e=localStorage.getItem(bu);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function _u(e){try{localStorage.setItem(bu,JSON.stringify(e))}catch{}}function _y(){const e=Date.now(),t=yu();let o=!1;for(const[n,s]of Object.entries(t))(typeof s!="number"||e-s>yy)&&(delete t[n],o=!0);return o&&_u(t),new Set(Object.keys(t))}function vy(e){if(!e)return;const t=yu();t[e]=Date.now(),_u(t);try{window.dispatchEvent(new CustomEvent("doxa:prayed-locally",{detail:{slug:e}}))}catch{}}function ky(e){const t=_y();return!t.size||!Array.isArray(e)?e:e.map(o=>(Number(o&&o.peoplePraying)||0)>0||!o||!t.has(o.slug)?o:{...o,peoplePraying:1})}const Qe={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"},vu={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"};function _r(e){return e==null?"":typeof e=="object"?e.label||e.value||"":String(e)}const wy=[[/ sign language$/i,"Sign Language"]];function xy(e){var i,l;const t=_r(e.languageFamily);if(t)return t;const o=String(((l=(i=e._raw)==null?void 0:i.primary_language)==null?void 0:l.value)||(e.language&&typeof e.language=="object"?e.language.value:"")||"").trim().toLowerCase();if(o&&vu[o])return vu[o];const n=_r(e.language||e.primary_language);if(!n||typeof n!="string")return"";const s=n.trim(),a=s.split(",").map(c=>c.trim()).filter(Boolean);if(a.length>=2){const c=[...a].reverse().join(" ");if(Qe[c])return Qe[c];if(a.length>=3){const u=[a[1],a[0]].join(" ");if(Qe[u])return Qe[u]}}if(Qe[s])return Qe[s];const r=s.replace(/\s*\(.*?\)\s*$/,"").trim();if(r!==s&&Qe[r])return Qe[r];for(const[c,u]of wy)if(c.test(s))return u;return""}function Sy(e){const{mapId:t="unknown",dataSourceId:o="doxa-csv",dataSourceManager:n=null,dataStore:s=null,markRaw:a=M=>M}=e;n||console.error("useMapData: dataSourceManager is required!");const r=me(!1),i=me(null),l=me(!1),c=me([]),u=me([]),m=me(null),h=me([]),L=me([]),A=me([]),f=me(null);async function S(){if(!n)throw new Error("dataSourceManager is required for useMapData");r.value=!0,i.value=null;try{if(await n.init(),s&&s.hasSourceData&&s.hasSourceData(o)){const N=s.getSourceData(o);u.value=a(N.normalizedData||[])}else{const N=await n.setActiveSource(o);for(const F of N){const T=_r(F.language||F.primary_language);T&&(F.language=T);const W=xy(F);F.languageFamily=Ma(W)}u.value=a(N),s&&s.cacheSourceData&&s.cacheSourceData(o,{normalizedData:N,timestamp:Date.now()})}c.value=a(ky(u.value.map(N=>({id:N.uniqueId,slug:N.slug||"",rop3:N.peopleGroupId,peopleId3:N.peopleId3,name:N.name,language:N.language,languageFamily:N.languageFamily,country:N.country,population:N.population,status:N.engagementStatus||N.status,latitude:N.latitude,longitude:N.longitude,lng:N.longitude,lat:N.latitude,description:N.description,imageUrl:N.imageUrl,doxaRegion:N.doxaRegion||N.wagfRegion||"",peoplePraying:N.peoplePraying??null,_normalized:N}))));const M=n.getDataByLanguageFamily();h.value=Object.entries(M).map(([N,F])=>{const T=F.reduce((W,he)=>{const X=parseInt(he.population)||0;return W+X},0);return{name:N,count:F.length,peopleGroupCount:F.length,population:T,groups:F}}).sort((N,F)=>F.count-N.count);const P=n.getDataByRegion();L.value=Object.entries(P).map(([N,F])=>{const T=F.reduce((W,he)=>{const X=parseInt(he.population)||0;return W+X},0);return{name:N,count:F.length,peopleGroupCount:F.length,population:T,groups:F}}).sort((N,F)=>N.name.localeCompare(F.name));const x={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(N=>{const F=parseInt(N.population)||0;let T=!1;N.bible==="Available"&&(x.bible.count++,x.bible.population+=F,x.bible.groups.push(N),T=!0),N.jesusFilm==="Available"&&(x.jesusFilm.count++,x.jesusFilm.population+=F,x.jesusFilm.groups.push(N),T=!0),N.radio==="Available"&&(x.radio.count++,x.radio.population+=F,x.radio.groups.push(N),T=!0),N.gospel==="Available"&&(x.gospel.count++,x.gospel.population+=F,x.gospel.groups.push(N),T=!0),N.audio==="Available"&&(x.audio.count++,x.audio.population+=F,x.audio.groups.push(N),T=!0),N.stories==="Available"&&(x.stories.count++,x.stories.population+=F,x.stories.groups.push(N),T=!0),T?(x.hasResources.count++,x.hasResources.population+=F,x.hasResources.groups.push(N)):(x.noResources.count++,x.noResources.population+=F,x.noResources.groups.push(N))});const R=u.value.length,J=u.value.reduce((N,F)=>N+(parseInt(F.population)||0),0),Q={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},le={bible:{count:R-x.bible.count,population:J-x.bible.population},jesusFilm:{count:R-x.jesusFilm.count,population:J-x.jesusFilm.population},radio:{count:R-x.radio.count,population:J-x.radio.population},gospel:{count:R-x.gospel.count,population:J-x.gospel.population},audio:{count:R-x.audio.count,population:J-x.audio.population},stories:{count:R-x.stories.count,population:J-x.stories.population}},G="#2c3e50";return A.value=[{name:Q.bible,key:"bible",count:x.bible.count,population:x.bible.population,isParent:!0,children:[{name:"No Bible",key:"noBible",count:le.bible.count,population:le.bible.population,color:G}]},{name:Q.jesusFilm,key:"jesusFilm",count:x.jesusFilm.count,population:x.jesusFilm.population,isParent:!0,children:[{name:"No Jesus Film",key:"noJesusFilm",count:le.jesusFilm.count,population:le.jesusFilm.population,color:G}]},{name:Q.radio,key:"radio",count:x.radio.count,population:x.radio.population,isParent:!0,children:[{name:"No Radio",key:"noRadio",count:le.radio.count,population:le.radio.population,color:G}]},{name:Q.gospel,key:"gospel",count:x.gospel.count,population:x.gospel.population,isParent:!0,children:[{name:"No Gospel",key:"noGospel",count:le.gospel.count,population:le.gospel.population,color:G}]},{name:Q.audio,key:"audio",count:x.audio.count,population:x.audio.population,isParent:!0,children:[{name:"No Audio",key:"noAudio",count:le.audio.count,population:le.audio.population,color:G}]},{name:Q.stories,key:"stories",count:x.stories.count,population:x.stories.population,isParent:!0,children:[{name:"No Stories",key:"noStories",count:le.stories.count,population:le.stories.population,color:G}]},{name:Q.hasResources,key:"hasResources",count:x.hasResources.count,population:x.hasResources.population,isParent:!0,children:[{name:Q.noResources,key:"noResources",count:x.noResources.count,population:x.noResources.population,color:G}]}],f.value=n.getStats(),l.value=!0,{peopleGroups:c.value,normalizedPeopleGroups:u.value,languageFamiliesData:h.value,doxaRegionsData:L.value,resourcesData:A.value,stats:f.value}}catch(M){throw console.error(`Failed to load data for map "${t}":`,M),i.value=M.message||"Failed to load data",M}finally{r.value=!1}}async function v(){var M,P,x;try{const R={},J=u.value||[];for(const Q of J){const le=Q.countryIso||((P=(M=Q._raw)==null?void 0:M.country_code)==null?void 0:P.value)||"",G=(x=Q._raw)==null?void 0:x.wagf_region,N=Q.doxaRegion||Q.wagfRegion||(G&&typeof G=="object"?G.value:"")||"";le&&N&&!R[le]&&(R[le]=N)}return m.value={isoToRegion:R},m.value}catch(R){throw console.error(`Error building regions data for map "${t}":`,R),i.value=R.message||"Failed to build regions",R}}function w(){return n?n.getDataByLanguageFamily():{}}function p(){return n?n.getDataByRegion():{}}function b(M){return w()[M]||[]}function _(M){return p()[M]||[]}function E(){c.value=[],u.value=[],m.value=null,h.value=[],L.value=[],A.value=[],f.value=null,l.value=!1,i.value=null}return{isLoading:r,isInitialized:l,error:i,peopleGroups:c,normalizedPeopleGroups:u,regionsData:m,languageFamiliesData:h,doxaRegionsData:L,resourcesData:A,stats:f,loadData:S,loadRegionsData:v,getDataByLanguageFamily:w,getDataByRegion:p,getPeopleGroupsByFamily:b,getPeopleGroupsByRegion:_,clearData:E}}function ku(e){return typeof window<"u"&&!!window.mapboxgl&&e instanceof window.mapboxgl.Map}function Da(e){return ku(e)?{"circle-emissive-strength":1}:{}}const Ay={Africa:{zoom:1.3,center:[16.6512,26.3538]},Asia:{zoom:.8,center:[98.2654,49.9282]},Europe:{zoom:1.4,center:[22.7826,70.1026]},"Latin America & Caribbean":{zoom:1.8,center:[-60.4619,10.1428]},"Middle East":{zoom:1.7,center:[22.9056,39.5752]},"No WAGF Region/Bloc":{zoom:.6,center:[-8.2363,44.2392]},"North America & Non-Spanish Caribbean":{zoom:2.1,center:[-68.1935,31.4282]},Oceania:{zoom:1.5,center:[161.6257,-.668]}},wu={circleRadius:{standard:["interpolate",["linear"],["zoom"],0,3,2,3.5,4,4,5,5,6,6.5,7,8,8,10,10,14,12,18,14,22],highlighted:["interpolate",["linear"],["zoom"],0,4,4,5,8,12,12,20],faded:["interpolate",["linear"],["zoom"],0,2,4,2.5,8,5,12,8],compact:["interpolate",["linear"],["zoom"],0,2,4,3,8,6,12,10],large:["interpolate",["linear"],["zoom"],0,4,4,6,8,14,12,24],touchTarget:["interpolate",["linear"],["zoom"],0,12,2,15,4,19,6,20,8,21,10,22,12,24,14,28]}};function Ly(e){return Ay[e]||null}function vr(e="standard"){return wu.circleRadius[e]||wu.circleRadius.standard}function Ey(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:s=()=>[]}=e,a=Te("uiStore"),{t:r,locale:i}=lt(),l=me([]);function c(p){const b=n(p.languageFamily),_="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg";let E=p.imageUrl;(!E||E.includes("NoImageAvailable"))&&(E=_);const M=(p.name||"U")[0].toUpperCase(),P=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"],x=M.charCodeAt(0)%P.length;return`
${f.name} + ">${p.name}

${f.country||"Unknown"} • ${f.status||"Unknown Status"}

+ ">${p.country||"Unknown"} • ${p.status||"Unknown Status"}

@@ -129,7 +129,7 @@ "> ${f.name}

- Language: ${f.language||"Unknown"} + Language: ${p.language||"Unknown"}

Family: - ${f.languageFamily||"Unknown"} + ${p.languageFamily||"Unknown"}

- ${f.population?`

Population: ${f.population}

`:""} - ${f.description?`

${f.description}

`:""} + ${p.population?`

Population: ${p.population}

`:""} + ${p.description?`

${p.description}

`:""} - `}function u(f){const b=f.iso_3166_1_alpha_3||"",E=f["name_"+((i==null?void 0:i.value)||"en")]||f.name_en||f.name||b,M=s(),P=b.toUpperCase(),x=M.filter(G=>{const N=(G.countryIso||G.country||"").toUpperCase();return N&&N===P}),R=x.length,J=x[0],Q=(J==null?void 0:J.wagfRegionLabel)||(J==null?void 0:J.doxaRegionLabel)||(J==null?void 0:J.doxaRegion)||(J==null?void 0:J.wagfRegion)||"—",le=(J==null?void 0:J.wagfBlockLabel)||(J==null?void 0:J.wagfBlock)||"—";return` + `}function u(p){const b=p.iso_3166_1_alpha_3||"",E=p["name_"+((i==null?void 0:i.value)||"en")]||p.name_en||p.name||b,M=s(),P=b.toUpperCase(),x=M.filter(G=>{const N=(G.countryIso||G.country||"").toUpperCase();return N&&N===P}),R=x.length,J=x[0],Q=(J==null?void 0:J.wagfRegionLabel)||(J==null?void 0:J.doxaRegionLabel)||(J==null?void 0:J.doxaRegion)||(J==null?void 0:J.wagfRegion)||"—",le=(J==null?void 0:J.wagfBlockLabel)||(J==null?void 0:J.wagfBlock)||"—";return`

${E} @@ -172,7 +172,7 @@ ${r("popup.country.uupgCount")}: ${R}

- `}function m(f){const b=t();if(!b)return;const _=f||"language-family-pins";if(!b.getLayer(_))return;const E=M=>{try{const P=M.features[0],x=P.properties,R=P.geometry.coordinates.slice();for(;Math.abs(M.lngLat.lng-R[0])>180;)R[0]+=M.lngLat.lng>R[0]?360:-360;if(a&&a.legendMode!==void 0){a.selectPeopleGroup(P),a.isMobile&&a.legendState==="collapsed"&&a.setLegendState("open"),a.isMobile||window.dispatchEvent(new CustomEvent("doxa:openDesktopLegend",{detail:{mapId:o}}));return}new mapboxgl.Popup({maxWidth:"320px",className:"people-group-popup"}).setLngLat(R).setHTML(c(x)).addTo(b)}catch(P){console.error(` [${o}] Pin click handler error:`,P)}};b.on("click",_,E),l.value.push({event:"click",layer:_,handler:E})}function h(){const f=t();if(!f)return;const b="regions-fill";if(!f.getLayer(b))return;const _=E=>{const M=["language-family-pins","language-family-pins-hitbox","people-groups-pins"];for(const P of M)if(f.getLayer(P)){const x=f.queryRenderedFeatures(E.point,{layers:[P]});if(x&&x.length>0)return}if(E.features&&E.features.length>0){const P=E.features[0].properties;new mapboxgl.Popup().setLngLat(E.lngLat).setHTML(u(P)).addTo(f)}};f.on("click",b,_),l.value.push({event:"click",layer:b,handler:_})}function L(){const f=t();if(!f)return;const b="clusters";if(!f.getLayer(b))return;const _=E=>{const M=f.queryRenderedFeatures(E.point,{layers:[b]});if(!M.length)return;const P=M[0].properties.cluster_id,x=M[0].source;f.getSource(x).getClusterExpansionZoom(P,(R,J)=>{R||f.easeTo({center:M[0].geometry.coordinates,zoom:J})})};f.on("click",b,_),l.value.push({event:"click",layer:b,handler:_})}function A(f){const b=t();if(!b||!b.getLayer(f))return;const _=()=>{b.getCanvas().style.cursor="pointer"},E=()=>{b.getCanvas().style.cursor=""};b.on("mouseenter",f,_),b.on("mouseleave",f,E),l.value.push({event:"mouseenter",layer:f,handler:_}),l.value.push({event:"mouseleave",layer:f,handler:E})}function p(){m(),A("language-family-pins"),m("language-family-pins-hitbox"),A("language-family-pins-hitbox"),L(),A("clusters")}function S(){h(),A("regions-fill")}function v(){const f=t();f&&(f.getLayer("language-family-pins")&&p(),f.getLayer("regions-fill")&&S(),f.getLayer("people-groups-pins")&&(m(),A("people-groups-pins")))}function w(){const f=t();if(f){for(const{event:b,layer:_,handler:E}of l.value)try{f.off(b,_,E)}catch{}l.value=[]}}return{attachAllEventHandlers:v,attachLanguageFamilyEvents:p,attachRegionEvents:S,attachPinClickHandler:m,attachRegionClickHandler:h,attachClusterClickHandler:L,attachCursorHandlers:A,detachAllEventHandlers:w,generatePinPopupContent:c,generateRegionPopupContent:u,registeredHandlers:l}}const wr=[">",["to-number",["get","peoplePraying"],0],0],xr={0:.25,8:.4,14:.5},cn={0:.1,8:.18,14:.22},un={0:1.2,8:1.6,14:2},Su=["interpolate",["linear"],["zoom"],0,["case",wr,xr[0],cn[0]],8,["case",wr,xr[8],cn[8]],14,["case",wr,xr[14],cn[14]]],$y=["interpolate",["linear"],["zoom"],0,un[0],8,un[8],14,un[14]],Au=["==",["to-number",["get","peoplePraying"],0],0],Ty={prayer:[Au],prayerProgress:[Au],engagement:[["all",["!=",["get","engagementStatus"],!0],["!=",["get","engagementStatus"],1]]],adoption:[["all",["!=",["get","adoptionStatus"],!0],["!=",["get","adoptionStatus"],1]]]};function Py(e){const t=Ty[e]||[];if(!t.length)return $y;const o=t.length===1?t[0]:["any",...t];return["interpolate",["linear"],["zoom"],0,["case",o,cn[0],un[0]],8,["case",o,cn[8],un[8]],14,["case",o,cn[14],un[14]]]}const Ny=[[/ sign language$/i,"Sign Language"]];function Iy(e){if(!e||typeof e!="string")return null;const t=e.trim(),o=t.split(",").map(s=>s.trim()).filter(Boolean);if(o.length>=2){const s=[...o].reverse().join(" ");if(Qe[s])return Qe[s];if(o.length>=3){const a=[o[1],o[0]].join(" ");if(Qe[a])return Qe[a]}}if(Qe[t])return Qe[t];const n=t.replace(/\s*\(.*?\)\s*$/,"").trim();if(n!==t&&Qe[n])return Qe[n];for(const[s,a]of Ny)if(s.test(t))return a;return null}function My(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:s=()=>[]}=e,a=()=>{const ne=t();return ne?Me(ne):null},r=Cy({getMap:a,mapId:o,getLanguageFamilyColor:n,getNormalizedPeopleGroups:s}),i=me({languageFamilyPins:!1,regions:!1,peopleGroups:!1,familyConnections:!1}),l=me({});function c(ne,ae="languageFamily"){const ge=a();if(!ge||!(ne!=null&&ne.length))return;const ke=yr(ae),y=ne.map(I=>{var K,H,d,g,B,q,ie,ee,U,k,j,oe,ue,be,$e,we,et,Fe,He;return{type:"Feature",properties:{uniqueId:I.id||I.uniqueId,slug:I.slug||((K=I._normalized)==null?void 0:K.slug)||"",rop3:I.rop3||I.peopleGroupId,peopleId3:I.peopleId3||"",name:I.name,language:I.language,languageFamily:I.languageFamily||((H=I._normalized)==null?void 0:H.languageFamily)||Iy(I.language)||"Unknown",affinityBlock:I.affinityBlock||I.affbloc||I.Affbloc||((d=I._normalized)==null?void 0:d.affinityBlock)||"Unknown",affinityBlockLabel:I.affinityBlockLabel||((g=I._normalized)==null?void 0:g.affinityBlockLabel)||"",cluster:I.cluster||((B=I._normalized)==null?void 0:B.cluster)||"",clusterLabel:I.clusterLabel||((q=I._normalized)==null?void 0:q.clusterLabel)||"",peopleGroup:I.peopleGroup||((ie=I._normalized)==null?void 0:ie.peopleGroup)||"",peopleGroupLabel:I.peopleGroupLabel||((ee=I._normalized)==null?void 0:ee.peopleGroupLabel)||"",doxaRegion:I.doxaRegion||((U=I._normalized)==null?void 0:U.doxaRegion)||"Unknown",wagfBlock:I.wagfBlock||((k=I._normalized)==null?void 0:k.wagfBlock)||"",wagfBlockLabel:I.wagfBlockLabel||((j=I._normalized)==null?void 0:j.wagfBlockLabel)||"",wagfRegionLabel:I.wagfRegionLabel||((oe=I._normalized)==null?void 0:oe.wagfRegionLabel)||"",country:I.country,countryIso:I.countryIso,countryIsoLabel:I.countryIsoLabel,countryName:I.countryName,religion:I.religion,religionCode:I.religionCode,religionLabel:I.religionLabel,religionName:I.religionName,population:I.population,status:I.status,description:I.description||"",imageUrl:I.imageUrl||"",peoplePraying:Number(I.peoplePraying??((ue=I._normalized)==null?void 0:ue.peoplePraying)??0),engagementStatus:I.engagementStatus===!0||I.engagementStatus===1||!1,adoptionStatus:I.adoptionStatus===!0||I.adoptionStatus===1||!1,bible:I.bible||((be=I._normalized)==null?void 0:be.bible)||"Not Available",jesusFilm:I.jesusFilm||(($e=I._normalized)==null?void 0:$e.jesusFilm)||"Not Available",radio:I.radio||((we=I._normalized)==null?void 0:we.radio)||"Not Available",gospel:I.gospel||((et=I._normalized)==null?void 0:et.gospel)||"Not Available",audio:I.audio||((Fe=I._normalized)==null?void 0:Fe.audio)||"Not Available",stories:I.stories||((He=I._normalized)==null?void 0:He.stories)||"Not Available",lng:parseFloat(I.longitude||I.lng)||0},geometry:{type:"Point",coordinates:[parseFloat(I.longitude||I.lng),parseFloat(I.latitude||I.lat)]}}}).filter(I=>!isNaN(I.geometry.coordinates[0])&&!isNaN(I.geometry.coordinates[1])),$=.04,C=I=>`${I.geometry.coordinates[0]},${I.geometry.coordinates[1]}`,D=new Map;for(const I of y){const K=C(I);D.has(K)||D.set(K,[]),D.get(K).push(I)}for(const I of D.values()){if(I.length<2)continue;const[K,H]=I[0].geometry.coordinates,d=I.length;for(let g=0;g",["to-number",["get","peoplePraying"],0],0],"#ffffff","#1f2937"],"circle-opacity":1,"circle-stroke-opacity":1,"circle-opacity-transition":{duration:250}}}),ge.addLayer({id:"language-family-pins-hitbox",type:"circle",source:"language-families",paint:{"circle-radius":kr("touchTarget"),"circle-color":"rgba(0,0,0,0)","circle-stroke-width":0,"circle-opacity":0}}),i.value.languageFamilyPins=!0,r.attachLanguageFamilyEvents()}function u(ne,ae="doxa-regions"){const ge=a();if(!ge)return;ge.getLayer("regions-fill")&&ge.removeLayer("regions-fill"),ge.getLayer("regions-border")&&ge.removeLayer("regions-border"),ge.getSource("regions")&&ge.removeSource("regions");const ke={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},y="#cccccc",$=ne&&ne.isoToRegion?ne.isoToRegion:{},C=[],D={};for(const[K,H]of Object.entries($)){const d=ke[String(H).toLowerCase()];d&&C.push(K,d),D[H]||(D[H]=[]),D[H].push(K)}l.value=D;const z=C.length?["match",["get","iso_3166_1_alpha_3"],...C,y]:y,I=ge.getLayer("language-family-pins-shadow")?"language-family-pins-shadow":ge.getLayer("language-family-pins")?"language-family-pins":void 0;ge.addSource("regions",{type:"vector",url:"mapbox://mapbox.country-boundaries-v1"}),ge.addLayer({id:"regions-fill",type:"fill",source:"regions","source-layer":"country_boundaries",paint:{"fill-color":z,"fill-opacity":ae==="none"?.1:.7,"fill-antialias":!0,"fill-emissive-strength":1,"fill-opacity-transition":{duration:300}}},I),ge.addLayer({id:"regions-border",type:"line",source:"regions","source-layer":"country_boundaries",paint:{"line-color":z,"line-width":1,"line-opacity":.9,"line-emissive-strength":1}},I),i.value.regions=!0,r.attachRegionEvents()}function m(ne,ae){const ge=a();if(!ge||!ne||!(ae!=null&&ae.length))return;h();const ke=ae.filter(z=>{var K;return(z.languageFamily||((K=z._normalized)==null?void 0:K.languageFamily)||"Unknown")===ne});if(ke.length<2)return;const y=n(ne),$=[],C=15,D=[...ke].sort((z,I)=>(z.longitude||z.lng)-(I.longitude||I.lng));for(let z=0;z=",["get","peoplePraying"],Lo],"#15803d",[">",["get","peoplePraying"],0],"#d97706","rgba(0,0,0,0)"]}const W=[0,5,2,6,4,7,5,9,6,12,7,14,8,18,10,25,12,32,14,40];function he(ne,ae){const ge=["interpolate",["linear"],["zoom"]];for(let ke=0;ke",["get","peoplePraying"],0],ge=T();if(!P.every(y=>ne.getLayer(y))){for(const y of P)if(ne.getLayer(y))try{ne.removeLayer(y)}catch{}ne.addLayer({id:_,type:"circle",source:"language-families",filter:ae,paint:{"circle-radius":he(W,1),"circle-color":ge,"circle-blur":.3,"circle-opacity":.45,"circle-stroke-width":0,...Oa(ne)}},"language-family-pins");for(const y of M)ne.addLayer({id:y,type:"circle",source:"language-families",filter:ae,paint:{"circle-radius":he(W,1),"circle-radius-transition":G,"circle-color":"rgba(0,0,0,0)","circle-blur":0,"circle-opacity":1,"circle-stroke-width":2.5,"circle-stroke-color":ge,"circle-stroke-opacity":0,"circle-stroke-opacity-transition":G,...Oa(ne)}},"language-family-pins")}}function re(){const ne=a();if(ne)for(const ae of P)ne.getLayer(ae)&&ne.removeLayer(ae)}function de(ne){const ae=a();if(!ae)return;const ge=[">",["get","peoplePraying"],0],ke=ne?["all",ge,ne]:ge;for(const y of P)if(ae.getLayer(y))try{ae.setFilter(y,ke)}catch{}}function Ae(){const ne=a();if(ne){if(Z(),w&&(cancelAnimationFrame(w),w=null),f=!0,ne.getLayer("language-family-pins"))try{ne.setLayoutProperty("language-family-pins","circle-sort-key",["case",[">=",["get","peoplePraying"],Lo],1,[">",["get","peoplePraying"],0],1,3])}catch{}ye(ne),Ie()}}function Ie(){w&&(cancelAnimationFrame(w),w=null);const ne=++b;let ae=performance.now(),ge=-1/0;function ke(y){if(!f||ne!==b)return;const $=a();if(!$||!P.some(D=>$.getLayer(D))){w=null;return}if(y-ge"u")return;const ae=typeof ne.getContainer=="function"?ne.getContainer():null;if(ae)try{F=new IntersectionObserver(ge=>{for(const ke of ge)N=ke.isIntersecting},{threshold:0}),F.observe(ae)}catch{F=null,N=!0}}function Ee(){if(F){try{F.disconnect()}catch{}F=null}N=!0}function Oe(){f=!1,w&&(cancelAnimationFrame(w),w=null),Ee();try{re();const ne=a();ne&&ne.getLayer("language-family-pins")&&ne.setLayoutProperty("language-family-pins","circle-sort-key",void 0)}catch{}}return{layersAdded:i,regionIsoMap:l,addLanguageFamilyLayer:c,addRegionsLayer:u,addFamilyConnectionLines:m,removeFamilyConnectionLines:h,updateLayerSource:L,removeLayer:A,hasLayer:p,setPaintProperty:S,mapEvents:r,startPrayerGlow:Ae,stopPrayerGlow:Oe,syncGlowFilter:de,cleanup:v}}const Ba="#1a1a1a",fo="selected-pin-highlight";function Fy(e=Ba){const t=document.createElement("div");t.className="doxa-go-pin-wrapper";const o=`pinGrad-${Math.random().toString(36).slice(2,8)}`;return t.innerHTML=` + `}function m(p){const b=t();if(!b)return;const _=p||"language-family-pins";if(!b.getLayer(_))return;const E=M=>{try{const P=M.features[0],x=P.properties,R=P.geometry.coordinates.slice();for(;Math.abs(M.lngLat.lng-R[0])>180;)R[0]+=M.lngLat.lng>R[0]?360:-360;if(a&&a.legendMode!==void 0){a.selectPeopleGroup(P),a.isMobile&&a.legendState==="collapsed"&&a.setLegendState("open"),a.isMobile||window.dispatchEvent(new CustomEvent("doxa:openDesktopLegend",{detail:{mapId:o}}));return}new mapboxgl.Popup({maxWidth:"320px",className:"people-group-popup"}).setLngLat(R).setHTML(c(x)).addTo(b)}catch(P){console.error(` [${o}] Pin click handler error:`,P)}};b.on("click",_,E),l.value.push({event:"click",layer:_,handler:E})}function h(){const p=t();if(!p)return;const b="regions-fill";if(!p.getLayer(b))return;const _=E=>{const M=["language-family-pins","language-family-pins-hitbox","people-groups-pins"];for(const P of M)if(p.getLayer(P)){const x=p.queryRenderedFeatures(E.point,{layers:[P]});if(x&&x.length>0)return}if(E.features&&E.features.length>0){const P=E.features[0].properties;new mapboxgl.Popup().setLngLat(E.lngLat).setHTML(u(P)).addTo(p)}};p.on("click",b,_),l.value.push({event:"click",layer:b,handler:_})}function L(){const p=t();if(!p)return;const b="clusters";if(!p.getLayer(b))return;const _=E=>{const M=p.queryRenderedFeatures(E.point,{layers:[b]});if(!M.length)return;const P=M[0].properties.cluster_id,x=M[0].source;p.getSource(x).getClusterExpansionZoom(P,(R,J)=>{R||p.easeTo({center:M[0].geometry.coordinates,zoom:J})})};p.on("click",b,_),l.value.push({event:"click",layer:b,handler:_})}function A(p){const b=t();if(!b||!b.getLayer(p))return;const _=()=>{b.getCanvas().style.cursor="pointer"},E=()=>{b.getCanvas().style.cursor=""};b.on("mouseenter",p,_),b.on("mouseleave",p,E),l.value.push({event:"mouseenter",layer:p,handler:_}),l.value.push({event:"mouseleave",layer:p,handler:E})}function f(){m(),A("language-family-pins"),m("language-family-pins-hitbox"),A("language-family-pins-hitbox"),L(),A("clusters")}function S(){h(),A("regions-fill")}function v(){const p=t();p&&(p.getLayer("language-family-pins")&&f(),p.getLayer("regions-fill")&&S(),p.getLayer("people-groups-pins")&&(m(),A("people-groups-pins")))}function w(){const p=t();if(p){for(const{event:b,layer:_,handler:E}of l.value)try{p.off(b,_,E)}catch{}l.value=[]}}return{attachAllEventHandlers:v,attachLanguageFamilyEvents:f,attachRegionEvents:S,attachPinClickHandler:m,attachRegionClickHandler:h,attachClusterClickHandler:L,attachCursorHandlers:A,detachAllEventHandlers:w,generatePinPopupContent:c,generateRegionPopupContent:u,registeredHandlers:l}}const kr=[">",["to-number",["get","peoplePraying"],0],0],wr={0:.25,8:.4,14:.5},ln={0:.1,8:.18,14:.22},cn={0:1.2,8:1.6,14:2},xu=["interpolate",["linear"],["zoom"],0,["case",kr,wr[0],ln[0]],8,["case",kr,wr[8],ln[8]],14,["case",kr,wr[14],ln[14]]],Cy=["interpolate",["linear"],["zoom"],0,cn[0],8,cn[8],14,cn[14]],Su=["==",["to-number",["get","peoplePraying"],0],0],$y={prayer:[Su],prayerProgress:[Su],engagement:[["all",["!=",["get","engagementStatus"],!0],["!=",["get","engagementStatus"],1]]],adoption:[["all",["!=",["get","adoptionStatus"],!0],["!=",["get","adoptionStatus"],1]]]};function Ty(e){const t=$y[e]||[];if(!t.length)return Cy;const o=t.length===1?t[0]:["any",...t];return["interpolate",["linear"],["zoom"],0,["case",o,ln[0],cn[0]],8,["case",o,ln[8],cn[8]],14,["case",o,ln[14],cn[14]]]}const Py=[[/ sign language$/i,"Sign Language"]];function Ny(e){if(!e||typeof e!="string")return null;const t=e.trim(),o=t.split(",").map(s=>s.trim()).filter(Boolean);if(o.length>=2){const s=[...o].reverse().join(" ");if(Qe[s])return Qe[s];if(o.length>=3){const a=[o[1],o[0]].join(" ");if(Qe[a])return Qe[a]}}if(Qe[t])return Qe[t];const n=t.replace(/\s*\(.*?\)\s*$/,"").trim();if(n!==t&&Qe[n])return Qe[n];for(const[s,a]of Py)if(s.test(t))return a;return null}function Iy(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:s=()=>[]}=e,a=()=>{const ne=t();return ne?Me(ne):null},r=Ey({getMap:a,mapId:o,getLanguageFamilyColor:n,getNormalizedPeopleGroups:s}),i=me({languageFamilyPins:!1,regions:!1,peopleGroups:!1,familyConnections:!1}),l=me({});function c(ne,ae="languageFamily"){const ge=a();if(!ge||!(ne!=null&&ne.length))return;const ke=br(ae),y=ne.map(I=>{var K,H,d,g,B,q,ie,ee,U,k,j,oe,ue,be,Ce,we,et,Fe,He;return{type:"Feature",properties:{uniqueId:I.id||I.uniqueId,slug:I.slug||((K=I._normalized)==null?void 0:K.slug)||"",rop3:I.rop3||I.peopleGroupId,peopleId3:I.peopleId3||"",name:I.name,language:I.language,languageFamily:I.languageFamily||((H=I._normalized)==null?void 0:H.languageFamily)||Ny(I.language)||"Unknown",affinityBlock:I.affinityBlock||I.affbloc||I.Affbloc||((d=I._normalized)==null?void 0:d.affinityBlock)||"Unknown",affinityBlockLabel:I.affinityBlockLabel||((g=I._normalized)==null?void 0:g.affinityBlockLabel)||"",cluster:I.cluster||((B=I._normalized)==null?void 0:B.cluster)||"",clusterLabel:I.clusterLabel||((q=I._normalized)==null?void 0:q.clusterLabel)||"",peopleGroup:I.peopleGroup||((ie=I._normalized)==null?void 0:ie.peopleGroup)||"",peopleGroupLabel:I.peopleGroupLabel||((ee=I._normalized)==null?void 0:ee.peopleGroupLabel)||"",doxaRegion:I.doxaRegion||((U=I._normalized)==null?void 0:U.doxaRegion)||"Unknown",wagfBlock:I.wagfBlock||((k=I._normalized)==null?void 0:k.wagfBlock)||"",wagfBlockLabel:I.wagfBlockLabel||((j=I._normalized)==null?void 0:j.wagfBlockLabel)||"",wagfRegionLabel:I.wagfRegionLabel||((oe=I._normalized)==null?void 0:oe.wagfRegionLabel)||"",country:I.country,countryIso:I.countryIso,countryIsoLabel:I.countryIsoLabel,countryName:I.countryName,religion:I.religion,religionCode:I.religionCode,religionLabel:I.religionLabel,religionName:I.religionName,population:I.population,status:I.status,description:I.description||"",imageUrl:I.imageUrl||"",peoplePraying:Number(I.peoplePraying??((ue=I._normalized)==null?void 0:ue.peoplePraying)??0),engagementStatus:I.engagementStatus===!0||I.engagementStatus===1||!1,adoptionStatus:I.adoptionStatus===!0||I.adoptionStatus===1||!1,bible:I.bible||((be=I._normalized)==null?void 0:be.bible)||"Not Available",jesusFilm:I.jesusFilm||((Ce=I._normalized)==null?void 0:Ce.jesusFilm)||"Not Available",radio:I.radio||((we=I._normalized)==null?void 0:we.radio)||"Not Available",gospel:I.gospel||((et=I._normalized)==null?void 0:et.gospel)||"Not Available",audio:I.audio||((Fe=I._normalized)==null?void 0:Fe.audio)||"Not Available",stories:I.stories||((He=I._normalized)==null?void 0:He.stories)||"Not Available",lng:parseFloat(I.longitude||I.lng)||0},geometry:{type:"Point",coordinates:[parseFloat(I.longitude||I.lng),parseFloat(I.latitude||I.lat)]}}}).filter(I=>!isNaN(I.geometry.coordinates[0])&&!isNaN(I.geometry.coordinates[1])),$=.04,C=I=>`${I.geometry.coordinates[0]},${I.geometry.coordinates[1]}`,D=new Map;for(const I of y){const K=C(I);D.has(K)||D.set(K,[]),D.get(K).push(I)}for(const I of D.values()){if(I.length<2)continue;const[K,H]=I[0].geometry.coordinates,d=I.length;for(let g=0;g",["to-number",["get","peoplePraying"],0],0],"#ffffff","#1f2937"],"circle-opacity":1,"circle-stroke-opacity":1,"circle-opacity-transition":{duration:250}}}),ge.addLayer({id:"language-family-pins-hitbox",type:"circle",source:"language-families",paint:{"circle-radius":vr("touchTarget"),"circle-color":"rgba(0,0,0,0)","circle-stroke-width":0,"circle-opacity":0}}),i.value.languageFamilyPins=!0,r.attachLanguageFamilyEvents()}function u(ne,ae="doxa-regions"){const ge=a();if(!ge)return;ge.getLayer("regions-fill")&&ge.removeLayer("regions-fill"),ge.getLayer("regions-border")&&ge.removeLayer("regions-border"),ge.getSource("regions")&&ge.removeSource("regions");const ke={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},y="#cccccc",$=ne&&ne.isoToRegion?ne.isoToRegion:{},C=[],D={};for(const[K,H]of Object.entries($)){const d=ke[String(H).toLowerCase()];d&&C.push(K,d),D[H]||(D[H]=[]),D[H].push(K)}l.value=D;const z=C.length?["match",["get","iso_3166_1_alpha_3"],...C,y]:y,I=ge.getLayer("language-family-pins-shadow")?"language-family-pins-shadow":ge.getLayer("language-family-pins")?"language-family-pins":void 0;ge.addSource("regions",{type:"vector",url:"mapbox://mapbox.country-boundaries-v1"}),ge.addLayer({id:"regions-fill",type:"fill",source:"regions","source-layer":"country_boundaries",paint:{"fill-color":z,"fill-opacity":ae==="none"?.1:.7,"fill-antialias":!0,"fill-emissive-strength":1,"fill-opacity-transition":{duration:300}}},I),ge.addLayer({id:"regions-border",type:"line",source:"regions","source-layer":"country_boundaries",paint:{"line-color":z,"line-width":1,"line-opacity":.9,"line-emissive-strength":1}},I),i.value.regions=!0,r.attachRegionEvents()}function m(ne,ae){const ge=a();if(!ge||!ne||!(ae!=null&&ae.length))return;h();const ke=ae.filter(z=>{var K;return(z.languageFamily||((K=z._normalized)==null?void 0:K.languageFamily)||"Unknown")===ne});if(ke.length<2)return;const y=n(ne),$=[],C=15,D=[...ke].sort((z,I)=>(z.longitude||z.lng)-(I.longitude||I.lng));for(let z=0;z=",["get","peoplePraying"],Lo],"#15803d",[">",["get","peoplePraying"],0],"#d97706","rgba(0,0,0,0)"]}const W=[0,5,2,6,4,7,5,9,6,12,7,14,8,18,10,25,12,32,14,40];function he(ne,ae){const ge=["interpolate",["linear"],["zoom"]];for(let ke=0;ke",["get","peoplePraying"],0],ge=T();if(!P.every(y=>ne.getLayer(y))){for(const y of P)if(ne.getLayer(y))try{ne.removeLayer(y)}catch{}ne.addLayer({id:_,type:"circle",source:"language-families",filter:ae,paint:{"circle-radius":he(W,1),"circle-color":ge,"circle-blur":.3,"circle-opacity":.45,"circle-stroke-width":0,...Da(ne)}},"language-family-pins");for(const y of M)ne.addLayer({id:y,type:"circle",source:"language-families",filter:ae,paint:{"circle-radius":he(W,1),"circle-radius-transition":G,"circle-color":"rgba(0,0,0,0)","circle-blur":0,"circle-opacity":1,"circle-stroke-width":2.5,"circle-stroke-color":ge,"circle-stroke-opacity":0,"circle-stroke-opacity-transition":G,...Da(ne)}},"language-family-pins")}}function re(){const ne=a();if(ne)for(const ae of P)ne.getLayer(ae)&&ne.removeLayer(ae)}function de(ne){const ae=a();if(!ae)return;const ge=[">",["get","peoplePraying"],0],ke=ne?["all",ge,ne]:ge;for(const y of P)if(ae.getLayer(y))try{ae.setFilter(y,ke)}catch{}}function Ae(){const ne=a();if(ne){if(X(),w&&(cancelAnimationFrame(w),w=null),p=!0,ne.getLayer("language-family-pins"))try{ne.setLayoutProperty("language-family-pins","circle-sort-key",["case",[">=",["get","peoplePraying"],Lo],1,[">",["get","peoplePraying"],0],1,3])}catch{}ye(ne),Ie()}}function Ie(){w&&(cancelAnimationFrame(w),w=null);const ne=++b;let ae=performance.now(),ge=-1/0;function ke(y){if(!p||ne!==b)return;const $=a();if(!$||!P.some(D=>$.getLayer(D))){w=null;return}if(y-ge"u")return;const ae=typeof ne.getContainer=="function"?ne.getContainer():null;if(ae)try{F=new IntersectionObserver(ge=>{for(const ke of ge)N=ke.isIntersecting},{threshold:0}),F.observe(ae)}catch{F=null,N=!0}}function $e(){if(F){try{F.disconnect()}catch{}F=null}N=!0}function Oe(){p=!1,w&&(cancelAnimationFrame(w),w=null),$e();try{re();const ne=a();ne&&ne.getLayer("language-family-pins")&&ne.setLayoutProperty("language-family-pins","circle-sort-key",void 0)}catch{}}return{layersAdded:i,regionIsoMap:l,addLanguageFamilyLayer:c,addRegionsLayer:u,addFamilyConnectionLines:m,removeFamilyConnectionLines:h,updateLayerSource:L,removeLayer:A,hasLayer:f,setPaintProperty:S,mapEvents:r,startPrayerGlow:Ae,stopPrayerGlow:Oe,syncGlowFilter:de,cleanup:v}}const Oa="#1a1a1a",fo="selected-pin-highlight";function My(e=Oa){const t=document.createElement("div");t.className="doxa-go-pin-wrapper";const o=`pinGrad-${Math.random().toString(36).slice(2,8)}`;return t.innerHTML=`